1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-10-20 00:17:38 +00:00

Merge pull request #174 from SquidDev-CC/hotfix/shutdown-abort

Send termination signals unless the computer is off
This commit is contained in:
Daniel Ratcliffe
2017-05-04 21:03:40 +01:00
committed by GitHub

View File

@@ -285,7 +285,7 @@ public class Computer
{ {
synchronized( this ) synchronized( this )
{ {
if( m_state == State.Running ) if( m_state != State.Off && m_machine != null )
{ {
if( hard ) if( hard )
{ {