diff --git a/lib/stockfish_web_bindings.dart b/lib/stockfish_web_bindings.dart index 3a9f4aa..6aa041c 100644 --- a/lib/stockfish_web_bindings.dart +++ b/lib/stockfish_web_bindings.dart @@ -62,11 +62,9 @@ Future loadJsFileIfNeeded() async { await jsBindingsScript.onLoad.first; - await _stockfishWaitReady(); - - //js.context.callMethod("t_cb", [test]); _jsloaded = true; } + await _stockfishWaitReady(); } Future _stockfishWaitReady() {