MCPcopy Create free account
hub / github.com/badvision/jace / deactivate

Method deactivate

src/main/java/jace/core/Computer.java:158–171  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

156 }
157
158 final public void deactivate() {
159 if (cpu != null) {
160 cpu.suspend();
161 }
162 if (motherboard != null) {
163 motherboard.suspend();
164 }
165 if (video != null) {
166 video.suspend();
167 }
168 if (mixer != null) {
169 mixer.detach();
170 }
171 }
172
173 /**
174 * If the user wants a full reset, use the coldStart method.

Callers

nothing calls this directly

Calls 2

suspendMethod · 0.45
detachMethod · 0.45

Tested by

no test coverage detected