It is possible that the events get emitted when calling Show(), which would then delete the class before Show() ends, results in using members of a deleted class. By delaying the events to next tick we can effectively avoid this. |
||
|---|---|---|
| .. | ||
| notification_presenter_win.cc | ||
| notification_presenter_win.h | ||
| scoped_hstring.cc | ||
| scoped_hstring.h | ||
| windows_toast_notification.cc | ||
| windows_toast_notification.h | ||