Skip to content

Shutdown shouldn't be repeated for stopped scenes #5826

Closed
@samme

Description

@samme

If you do

this.scene.stop().stop().stop();

then SHUTDOWN is emitted three times.

This seems a little incorrect to me and it can also make shutdown event handlers needlessly complex.

I would rather have SceneManager#stop abort if the scene is already stopped.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions