1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-12-12 11:10:29 +00:00

Send termination signals unless the computer is off

If a shutdown has been queued, then the abort message was not set. This
allowed for programs to run for a significantly longer period of time.
This commit is contained in:
SquidDev 2017-05-02 14:04:48 +01:00
parent 3a360a50b0
commit ba761a15b6

View File

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