You've already forked godot
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:
@@ -62,7 +62,6 @@ class EmbeddedProcessMacOS final : public EmbeddedProcessBase {
|
||||
IN_PROGRESS,
|
||||
COMPLETED,
|
||||
FAILED,
|
||||
CLOSED,
|
||||
};
|
||||
|
||||
DisplayServerMacOS *ds = nullptr;
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user