mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-27 17:34:48 +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 )
|
synchronized( this )
|
||||||
{
|
{
|
||||||
if( m_state == State.Running )
|
if( m_state != State.Off && m_machine != null )
|
||||||
{
|
{
|
||||||
if( hard )
|
if( hard )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user