Closed Norgerman closed 7 years ago
RunLoop is called later than Schedule(sometimes maybe),and then will cause
RunLoop
Schedule
Loop thread error System.NullReferenceException: Object reference not set to an instance of an object.
Just create the loop and asyncHandle in the constructor,and start it in the loop thread.
loop
asyncHandle
:white_check_mark: Build NetUV 0.1.116-pfvsxora completed (commit https://github.com/StormHub/NetUV/commit/f96791e420 by @Norgerman)
See PR#48
RunLoop
is called later thanSchedule
(sometimes maybe),and then will causeJust create the
loop
andasyncHandle
in the constructor,and start it in the loop thread.