Skip to content

Commit

Permalink
Compile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
starburst997 committed May 14, 2019
1 parent 14b8bd0 commit cea8910
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/swfty/extra/Server.hx
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@ import haxe.macro.Compiler;
import haxe.ds.IntMap;
import haxe.io.Bytes;

#if !neko
import hx.concurrent.executor.*;
#end

class Server {

// TODO: No way to "stop" it right now, I guess we could keep it in static var
// Also was done in a hurry (not super well done...), but hey it works!
public static function run(manager:Manager) {
#if !neko
var retry = false;

// This should be in your DEV code only
Expand Down Expand Up @@ -187,5 +190,6 @@ class Server {
}
}
});
#end
}
}

0 comments on commit cea8910

Please sign in to comment.