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.

(cherry picked from commit 34d39c9dfb)
This commit is contained in:
David Hart
2016-08-19 23:19:14 +02:00
committed by Vadim Zeitlin
parent 07168e3d2a
commit e1a4b7d5aa
2 changed files with 3 additions and 1 deletions

View File

@@ -626,6 +626,7 @@ wxGTK:
- Fix GTK+ warnings when refreshing wxListCtrl items (Scott Talbert).
- Fix using wxHTTP and wxFTP from worker thread.
- Make items selected from keyboard visible in wxListCtrl (Jonathan Dagresta).
- Fix crashes in wxFileSystemWatcher implementation (David Hart).
wxMSW: