Merge pull request #107917 from a-johnston/cleanup_embedded_process_macos
Cleanup closed embedded processes on macOS
This commit is contained in:
commit
a6fda593ef
2 changed files with 1 additions and 2 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue