From 084133af49d3a29d1518bbda2d096c4ac3c21861 Mon Sep 17 00:00:00 2001 From: miruka Date: Fri, 15 May 2020 03:06:59 -0400 Subject: [PATCH] Make py.pendingCoroutines accessible for debugging --- src/gui/PythonBridge/PythonBridge.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/PythonBridge/PythonBridge.qml b/src/gui/PythonBridge/PythonBridge.qml index f735278e..c2a51d42 100644 --- a/src/gui/PythonBridge/PythonBridge.qml +++ b/src/gui/PythonBridge/PythonBridge.qml @@ -9,6 +9,9 @@ Python { id: py + readonly property var pendingCoroutines: Globals.pendingCoroutines + + function makeFuture(callback) { return Qt.createComponent("Future.qml").createObject(py, {bridge: py}) }