1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-06-26 07:03:22 +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
commit 655a328b86

View File

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