Skip to content

Commit 84ed1ef

Browse files
committed
fix delay
1 parent 8fba3a3 commit 84ed1ef

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import com.intellij.openapi.components.Storage
1313
import com.intellij.util.Alarm
1414
import com.intellij.util.AlarmFactory
1515
import com.intellij.util.io.HttpRequests
16-
import kotlinx.coroutines.cancel
1716
import kotlinx.coroutines.delay
1817
import kotlinx.coroutines.runBlocking
1918
import org.jetbrains.annotations.VisibleForTesting

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ object NotificationMapperUtil {
2424
class ProcessNotificationsBase {
2525
private val notifListener = mutableListOf<NotifListener>()
2626
init {
27-
NotificationPollingService.getInstance().addObserver { ->
27+
NotificationPollingService.getInstance().addObserver {
2828
retrieveStartupAndEmergencyNotifications()
2929
}
3030
}

0 commit comments

Comments
 (0)