Changeset 5414


Ignore:
Timestamp:
Sep 21, 2010, 9:29:35 AM (12 years ago)
Author:
Nicklas Nordborg
Message:

References #1509: Job queue order after restarting a job

Fixes a potential NullPointerException?. 16 test programs failed since they don't use the signaling system.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/core/net/sf/basedb/core/PluginExecutionRequest.java

    r5406 r5414  
    129129    }
    130130    done();
    131     if (progress != null) progress.setEnded(pluginResponse, signalHandler.hasReceived(Signal.SHUTDOWN));
     131    if (progress != null) progress.setEnded(pluginResponse, signalHandler != null && signalHandler.hasReceived(Signal.SHUTDOWN));
    132132    return pluginResponse;
    133133  }
Note: See TracChangeset for help on using the changeset viewer.