Skip to content

Investigate script cleanup after terminate #554

@x87

Description

@x87

Do you know why scripts are not deleted immediately after terminate?
Terminated scripts are placed into ScriptsWaitingForDelete and deleted only on game exit/restart.

Originally posted by @x87 in #552 (comment)


So, if you load/terminate custom script in a loop, you don't deallocate memory and can potentially run out of it, unless you reload the game.

Originally posted by @x87 in #552 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions