Closed Claus1 closed 1 year ago
The server sends some messages using second thread because of asyncio limitations.
def sync_send(self, obj): asyncio.run_coroutine_threadsafe(self.send(obj), self.extra_loop)
It works in linux but fails in windows. asyncio does not have normal, working api for forcing flush of the message queue or executing postponed coroutines. Still looking for fixing.
patched and fixed at https://github.com/Claus1/unigui/commit/e1ef7eb3d5be104cf76998af328ffb6a63f64e47
The server sends some messages using second thread because of asyncio limitations.
It works in linux but fails in windows. asyncio does not have normal, working api for forcing flush of the message queue or executing postponed coroutines. Still looking for fixing.