You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Timer.delay will crash .and I change to this seem better!
HlAcceptor.hx
public function bind(?_port:Int):Promise<OpenPort> {.....
// haxe.Timer.delay(function() {
// var res = Success(new OpenPort(s, port));
// cb(res);
// }, 0);
MainLoop.add(function (){
var res = Success(new OpenPort(s, port));
cb(res);
Sys.sleep(0.1);
});
The text was updated successfully, but these errors were encountered:
when wok with socket and tink_web ,
Timer.delay will crash .and I change to this seem better!
HlAcceptor.hx
The text was updated successfully, but these errors were encountered: