StormHub / NetUV

.Net standard/Core binding for Libuv
Other
76 stars 20 forks source link

move create loop/asyncHandle into constructor #46

Closed Norgerman closed 7 years ago

Norgerman commented 7 years ago

RunLoop is called later than Schedule(sometimes maybe),and then will cause

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.

StormHub commented 7 years ago

:white_check_mark: Build NetUV 0.1.116-pfvsxora completed (commit https://github.com/StormHub/NetUV/commit/f96791e420 by @Norgerman)

StormHub commented 7 years ago

See PR#48