There is no AndroidApp::native_window() during MainEvent::TerminateWindow
juzpermsky opened this issue · 0 comments
juzpermsky commented
This description does not correspond to reality:
/// Upon receiving this command, [
AndroidApp::native_window()
] still
/// returns the existing window; after returning from the [AndroidApp::poll_events()
]
/// callback then [AndroidApp::native_window()
] will returnNone
.
As we can see, poll_events's callback (with TerminateWindow) is triggered after the native window is set to None.