Work around ModelStore binding loop

This commit is contained in:
miruka
2020-05-21 01:26:12 -04:00
parent b30ce33494
commit 5ae71cb7ce
3 changed files with 8 additions and 2 deletions

View File

@@ -26,6 +26,7 @@ Python {
Globals.pendingCoroutines[uuid] = {future, onSuccess, onError}
Globals.pendingCoroutinesChanged()
// if (name === "models.ensure_exists_from_qml") { print("r"); return}
call("BRIDGE.call_backend_coro", [name, uuid, args], pyFuture => {
future.privates.pythonFuture = pyFuture