Closed azanli closed 6 years ago
…attempting to invoke cancel()
Patch in reference to #36
The only difference is that broadcastTimer is initialized to null value since that is what it becomes after broadcastTimer.cancel(), so that it can be checked against that value, i.e. broadcastTimer != null before invoking broadcastTimer.cancel(). `
broadcastTimer
null
broadcastTimer.cancel()
broadcastTimer != null
Looks good.
…attempting to invoke cancel()
Patch in reference to #36
The only difference is that
broadcastTimer
is initialized tonull
value since that is what it becomes afterbroadcastTimer.cancel()
, so that it can be checked against that value, i.e.broadcastTimer != null
before invokingbroadcastTimer.cancel()
. `