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
1 changed files with 1 additions and 1 deletions

View File

@ -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 )
{