Skip to content

Commit 1c6f0d4

Browse files
committed
fix isFirstPoll not setting to false on first pass
1 parent b2e012a commit 1c6f0d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/notifications/NotificationPollingService.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ internal final class NotificationPollingService : Disposable {
6060

6161
fun startPolling() {
6262
val newNotifications = runBlocking { pollForNotifications() }
63+
isFirstPoll.set(false)
6364
if (newNotifications) {
6465
notifyObservers()
6566
}

0 commit comments

Comments
 (0)