mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-12 19:20: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:
parent
3a360a50b0
commit
ba761a15b6
@ -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