Fix use of dangling reference in wxFileSystemWatcher Unix code

Don't reference the "watch" object after possibly destroying it when handling
IN_DELETE_SELF inotify notification.

Closes #17122.
This commit is contained in:
David Hart
2016-08-19 23:19:14 +02:00
committed by Vadim Zeitlin
parent 6537356236
commit 34d39c9dfb
2 changed files with 3 additions and 1 deletions

View File

@@ -107,6 +107,7 @@ wxGTK:
- Improve wxSpinCtrl best size calculation.
- Implement support for icon locations in wxMimeTypesManager (Hanmac).
- Cosmetic fix for empty wxCheckBoxes display (Chuddah).
- Fix crashes in wxFileSystemWatcher implementation (David Hart).
wxMSW: