| 886 | } |
| 887 | |
| 888 | virtual void cancel() override { |
| 889 | if (process_id != -1) { |
| 890 | OS::get_singleton()->kill(process_id); |
| 891 | } |
| 892 | is_cancelled = true; |
| 893 | } |
| 894 | |
| 895 | // We have to start the process on the main thread because of inscrutable WINPROC stuff. |
| 896 | virtual bool pre_run() override { |