Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
NPE Fix in StreamWatchdog
Could be the cause of JENKINS-21036
  • Loading branch information
rsandell committed Jan 22, 2014
1 parent f3e6b39 commit f588210
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -128,6 +128,8 @@ public synchronized void signal() {
* Shuts down the watchdog timer. A new StreamWatchdog will need to be created to continue watching it.
*/
public void shutdown() {
timer.cancel();
if (timer != null) {
timer.cancel();
}
}
}

0 comments on commit f588210

Please sign in to comment.