...
This commit is contained in:
parent
f36aa19c3f
commit
7d99fcdfff
@ -74,11 +74,11 @@ def run_app(opts, args):
|
|||||||
tabs.render()
|
tabs.render()
|
||||||
window.swap_buffers()
|
window.swap_buffers()
|
||||||
glfw_wait_events()
|
glfw_wait_events()
|
||||||
try:
|
while True:
|
||||||
func, args = tabs.pending_ui_thread_calls.get_nowait()
|
try:
|
||||||
except Empty:
|
func, args = tabs.pending_ui_thread_calls.get_nowait()
|
||||||
pass
|
except Empty:
|
||||||
else:
|
break
|
||||||
try:
|
try:
|
||||||
func(*args)
|
func(*args)
|
||||||
except Exception:
|
except Exception:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user