Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Threads do not terminate when the main Window is closed #305

Open
kangz12345 opened this issue May 9, 2024 · 0 comments
Open

Threads do not terminate when the main Window is closed #305

kangz12345 opened this issue May 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kangz12345
Copy link
Member

Describe the bug

When the main window of iquip is closed, the program does not quit even if all the windows are closed.
If I try to quit the process via Ctrl+C, a KeyboardInterrupt traceback message appears but not terminating.

Traceback (most recent call last):
  File "C:\Users\QC109_3\iquip\iquip\apps\stage.py", line 435, in readAllPositions
    @pyqtSlot()

KeyboardInterrupt
Traceback (most recent call last):
  File "C:\Users\QC109_3\iquip\iquip\apps\stage.py", line 466, in handlePositionReported
    @pyqtSlot(str, float)

KeyboardInterrupt
Traceback (most recent call last):
  File "C:\Users\QC109_3\iquip\iquip\apps\monitor.py", line 1136, in _updateTTLStatus
    """Turns on or off the TTL switch, which controls the target DDS channel output

KeyboardInterrupt
Traceback (most recent call last):
  File "C:\Users\QC109_3\iquip\iquip\apps\monitor.py", line 1136, in _updateTTLStatus
    """Turns on or off the TTL switch, which controls the target DDS channel output

KeyboardInterrupt
Traceback (most recent call last):
  File "C:\Users\QC109_3\iquip\iquip\apps\monitor.py", line 1136, in _updateTTLStatus
    """Turns on or off the TTL switch, which controls the target DDS channel output

KeyboardInterrupt
Traceback (most recent call last):
  File "C:\Users\QC109_3\iquip\iquip\apps\stage.py", line 435, in readAllPositions
    @pyqtSlot()

KeyboardInterrupt
Traceback (most recent call last):
  File "C:\Users\QC109_3\iquip\iquip\apps\monitor.py", line 1136, in _updateTTLStatus
    """Turns on or off the TTL switch, which controls the target DDS channel output

KeyboardInterrupt
Traceback (most recent call last):
  File "C:\Users\QC109_3\iquip\iquip\apps\stage.py", line 435, in readAllPositions
    @pyqtSlot()

KeyboardInterrupt
Traceback (most recent call last):
  File "C:\Users\QC109_3\iquip\iquip\apps\stage.py", line 435, in readAllPositions
    @pyqtSlot()

KeyboardInterrupt
Traceback (most recent call last):
  File "C:\Users\QC109_3\iquip\iquip\apps\stage.py", line 435, in readAllPositions
    @pyqtSlot()

KeyboardInterrupt
Traceback (most recent call last):
  File "C:\Users\QC109_3\iquip\iquip\apps\monitor.py", line 1136, in _updateTTLStatus
    """Turns on or off the TTL switch, which controls the target DDS channel output

KeyboardInterrupt
Traceback (most recent call last):
  File "C:\Users\QC109_3\iquip\iquip\apps\monitor.py", line 1136, in _updateTTLStatus
    """Turns on or off the TTL switch, which controls the target DDS channel output

KeyboardInterrupt
Traceback (most recent call last):
  File "C:\Users\QC109_3\iquip\iquip\apps\stage.py", line 435, in readAllPositions
    @pyqtSlot()

KeyboardInterrupt

Expected behavior

The process should terminate without leaving any threads alive.

To Reproduce

Not confirmed yet.

@kangz12345 kangz12345 added the bug Something isn't working label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant