Exception ignored on calling ctypes callback function: <function ObjCSubclass.method.<locals>.decorator.<locals>.objc_method at 0x10ffb96c0>
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/pyglet/libs/darwin/cocoapy/runtime.py", line 1251, in objc_method
result = f(py_self, *args)
^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyglet/window/cocoa/pyglet_view.py", line 193, in keyUp_
self._window.dispatch_event('on_key_release', symbol, modifiers)
File "/usr/local/lib/python3.11/site-packages/pyglet/window/__init__.py", line 668, in dispatch_event
super().dispatch_event(*args)
File "/usr/local/lib/python3.11/site-packages/pyglet/event.py", line 380, in dispatch_event
if handler(*args):
^^^^^^^^^^^^^^
File "/Users/jason/.zsh.d/bin/slideshow", line 531, in on_key_release
sys.exit()
SystemExit:
Fatal Python error: bool_dealloc: deallocating True or False: bug likely caused by a refcount error in a C extension
Python runtime state: finalizing (tstate=0x000000010f9a35c8)
Current thread 0x000000011cb5d600 (most recent call first):
Garbage-collecting
<no Python frame>