DashCommunicator inherits QThread. From the QThread docs:
"Note that deleting a QThread object will not stop the execution of the thread it manages. Deleting a running QThread (i.e. isFinished() returns false) will probably result in a program crash. Wait for the finished() signal before deleting the QThread."
So to fix this, need to refactor DashCommunicator a bit to only delete the QThread after the thread's finished() signal has fired.
DashCommunicator inherits QThread. From the QThread docs:
"Note that deleting a QThread object will not stop the execution of the thread it manages. Deleting a running QThread (i.e. isFinished() returns false) will probably result in a program crash. Wait for the finished() signal before deleting the QThread."
So to fix this, need to refactor DashCommunicator a bit to only delete the QThread after the thread's finished() signal has fired.