Skip to content

editor: Save/load state not cleared on coroutine errors causing permanent lock #701

@q8X

Description

@q8X

Which resource(s) have this problem?
editor_main

Describe the bug
save/load can become permanently stuck in a saving or loading state, this occurs when any error happens during save/load operation, for example a player disconnect during save

current coroutine state management lacks error handling, causing some variables to never clear on errors
some known messages that happen during this error:

  • Cannot quick save while a save is in progress
  • Cannot quick save while a load is in progress

To Reproduce

  1. start mta server
  2. open any medium/big map
  3. save and instantly disconnect from the server
  4. join the server again and press save
  5. see error

Expected behavior
should clear these variables before passing it to the client

Additional context

bug.mp4

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