crownengine / crown

The flexible game engine.
https://www.crownengine.org
Other
2.15k stars 154 forks source link

tools: editor should force exit its subprocesses after wait timeout #127

Open dbartolini opened 1 year ago

dbartolini commented 1 year ago

Similarly to how launcher.vala does with GLib.Timeout.

Currently, after a process is asked to exit, the editor waits for its socket to disconnect. Unfortunately, this method does not support GTK's cancellable interface and infinite waits may happen.

We should use the Luancher's wait() interface, removing the socket waiting altogether.