MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / stop

Method stop

editor/run/editor_run.cpp:230–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228}
229
230void EditorRun::stop() {
231 if (status != STATUS_STOP && pids.size() > 0) {
232 for (const OS::ProcessID &E : pids) {
233 OS::get_singleton()->kill(E);
234 }
235 pids.clear();
236 }
237
238 status = STATUS_STOP;
239 running_scene = "";
240}
241
242OS::ProcessID EditorRun::get_current_process() const {
243 if (pids.front() == nullptr) {

Callers 15

_notificationMethod · 0.45
_resources_reimportedMethod · 0.45
_exit_editorMethod · 0.45
_playMethod · 0.45
_stopMethod · 0.45
_preview_threadMethod · 0.45
_play_pressedMethod · 0.45
_play_bw_pressedMethod · 0.45
_stop_pressedMethod · 0.45
_animation_selectedMethod · 0.45
_line_col_changedMethod · 0.45

Calls 3

sizeMethod · 0.65
killMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected