We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 249985e + cd1c249 commit fec8429Copy full SHA for fec8429
1 file changed
source/hwIo/ioThread.py
@@ -186,7 +186,7 @@ def _registerToCallAsApc(
186
reference = BoundMethodWeakref(func) if ismethod(func) else AnnotatableWeakref(func)
187
reference.funcName = repr(func)
188
189
- self._apcStore[internalParam] = (func or reference, param)
+ self._apcStore[internalParam] = (reference or func, param)
190
return internalParam
191
192
def queueAsApc(
0 commit comments