mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-26 00:46:54 +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 class Computer
|
||||
{
|
||||
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