Skip to content

There is no AndroidApp::native_window() during MainEvent::TerminateWindow #162

@juzpermsky

Description

@juzpermsky

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 return None.

As we can see, poll_events's callback (with TerminateWindow) is triggered after the native window is set to None.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions