This commit is contained in:
Kovid Goyal 2016-11-30 17:11:06 +05:30
parent f36aa19c3f
commit 7d99fcdfff

View File

@ -74,11 +74,11 @@ def run_app(opts, args):
tabs.render()
window.swap_buffers()
glfw_wait_events()
while True:
try:
func, args = tabs.pending_ui_thread_calls.get_nowait()
except Empty:
pass
else:
break
try:
func(*args)
except Exception: