MCPcopy Create free account
hub / github.com/apohl79/audiogridder / init

Method init

Server/Source/ProcessorClient.cpp:32–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32bool ProcessorClient::init() {
33 traceScope();
34 if (!startSandbox()) {
35 setAndLogError("fatal error: failed to start sandbox process");
36 return false;
37 }
38
39 if (!connectSandbox()) {
40 setAndLogError("fatal error: failed to connect to sandbox process");
41 if (m_process.isRunning()) {
42 m_process.kill();
43 }
44 return false;
45 }
46
47 m_error.clear();
48
49 return true;
50}
51
52void ProcessorClient::shutdown() {
53 logln("shutting down sandbox");

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected