From 57f0458366a36e9de24eb49d81940fdec078511c Mon Sep 17 00:00:00 2001 From: emawby Date: Fri, 26 Jun 2020 16:14:10 -0700 Subject: [PATCH] fixing deadlock on launch for duration based IAM triggers --- iOS_SDK/OneSignalSDK/Source/OSMessagingController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iOS_SDK/OneSignalSDK/Source/OSMessagingController.m b/iOS_SDK/OneSignalSDK/Source/OSMessagingController.m index 4c879fc3f..54f615c5f 100644 --- a/iOS_SDK/OneSignalSDK/Source/OSMessagingController.m +++ b/iOS_SDK/OneSignalSDK/Source/OSMessagingController.m @@ -146,7 +146,7 @@ - (instancetype)init { self.currentPromptAction = nil; self.isAppInactive = NO; // BOOL that controls if in-app messaging is paused or not (false by default) - [self setInAppMessagingPaused:false]; + _isInAppMessagingPaused = false; } return self;