From 80e224c7d930d364faa7a6846b2772d3fe3982a6 Mon Sep 17 00:00:00 2001 From: jusax23 Date: Wed, 28 Feb 2024 20:13:31 +0100 Subject: [PATCH] bug fix --- lib/stockfish_web_bindings.dart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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() {