Skip to content

Commit

Permalink
fixed failed notification deletion
Browse files Browse the repository at this point in the history
Signed-off-by: Jan N. Klug <>
  • Loading branch information
Jan N. Klug committed Nov 3, 2023
1 parent de5b315 commit 3816ab9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,8 @@ private void stopCurrentNotification() {
ScheduledFuture<?> currentNotificationUpdateTimer = this.currentNotificationUpdateTimer;
if (currentNotificationUpdateTimer != null) {
this.currentNotificationUpdateTimer = null;
currentNotificationUpdateTimer.cancel(true);
// do not interrupt the current set, otherwise the DELETE request will be aborted
currentNotificationUpdateTimer.cancel(false);
}
NotificationTO currentNotification = this.currentNotification;
if (currentNotification != null) {
Expand Down

0 comments on commit 3816ab9

Please sign in to comment.