Skip to content

ctrl-c exitwith no fps in silent mode causes core dump #42

@SimLeek

Description

@SimLeek
^CTraceback (most recent call last):
  File "t.py", line 12, in <module>
    for up in display(0, size=(1, 1), silent=True ):
  File "/home/okwokk/.local/lib/python3.7/site-packages/displayarray/window/subscriber_windows.py", line 62, in __iter__
    self.update()
  File "/home/okwokk/.local/lib/python3.7/site-packages/displayarray/window/subscriber_windows.py", line 201, in update
    key = self.handle_keys(cv2.waitKey(1))
KeyboardInterrupt
^CException ignored in: <module 'threading' from '/usr/lib/python3.7/threading.py'>
Traceback (most recent call last):
  File "/usr/lib/python3.7/threading.py", line 1307, in _shutdown
    lock.acquire()
KeyboardInterrupt
terminate called without an active exception
Aborted (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions