New answers tagged qt
2
votes
Safely and elegantly handling UNIX signals in Qt applications
Both OP's code and the accepted answer fail to handle the cleanup. There should be a mutex protecting the destructor code from UNIX signals received while the destructor is running.
+1:
Hm. Neither OP'...
Top 50 recent answers are included
Related Tags
qt × 133c++ × 117
gui × 15
python × 13
object-oriented × 9
c++11 × 8
multithreading × 8
c++17 × 7
mvc × 6
c++14 × 6
qml × 6
beginner × 5
pyqt × 5
performance × 4
calculator × 4
pointers × 4
json × 3
memory-management × 3
template × 3
opengl × 3
pyside × 3
python-3.x × 2
algorithm × 2
strings × 2
game × 2