simplefilewatcher icon indicating copy to clipboard operation
simplefilewatcher copied to clipboard

bugfix for segmentation fault which is sometimes triggered after a wa…

Open hugo3132 opened this issue 4 years ago • 0 comments

sometimes after removeWatch() was called, handleAction(...) triggered a segmentation fault. This is because in removeWatch the Watch* was deleted and removed from mWatches. In the update function mWatches[pevent->wd] is called which creates a new map entry with a random pointer.

hugo3132 avatar Oct 01 '20 11:10 hugo3132