Skip to content

Commit

Permalink
Merge pull request #5 from DerThorsten/main
Browse files Browse the repository at this point in the history
hotfix
  • Loading branch information
DerThorsten authored Oct 11, 2023
2 parents 0e0a682 + 066f571 commit 2eb2f51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/x_qt_python_extension.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def _install_event_loop_caller():
while self._run:
self.mutex.lock()
if True or self.n_queued <= 0:
result = ctypes.pythonapi.Py_AddPendingCall(runEventLoopCFuncPtr, None)
result = ctypes.pythonapi.Py_AddPendingCall(function_ptr, None)
if result == 0:
self.n_queued += 1
self.mutex.unlock()
Expand Down

0 comments on commit 2eb2f51

Please sign in to comment.