1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

cleanup closed embedded processes on macos

This commit is contained in:
Adam Johnston
2025-06-23 02:00:37 -07:00
parent 242b8ff80a
commit a3f8a067a9
2 changed files with 1 additions and 2 deletions

View File

@@ -62,7 +62,6 @@ class EmbeddedProcessMacOS final : public EmbeddedProcessBase {
IN_PROGRESS,
COMPLETED,
FAILED,
CLOSED,
};
DisplayServerMacOS *ds = nullptr;

View File

@@ -128,7 +128,7 @@ void EmbeddedProcessMacOS::request_close() {
if (current_process_id != 0 && is_embedding_completed()) {
script_debugger->send_message("embed:win_event", { DisplayServer::WINDOW_EVENT_CLOSE_REQUEST });
}
embedding_state = EmbeddingState::CLOSED;
reset();
}
void EmbeddedProcessMacOS::display_state_changed() {