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:
commit
655a328b86
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user