We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 356d29b + 1def7dc commit c49673aCopy full SHA for c49673a
Parse/ParsePush.WinRT.cs
100644
100755
@@ -18,8 +18,11 @@ static ParsePush() {
18
t.Result.PushNotificationReceived += (sender, args) => {
19
PushNotificationReceived(ParseInstallation.CurrentInstallation, args);
20
21
- var payload = PushJson(args);
22
- parsePushNotificationReceived.Invoke(ParseInstallation.CurrentInstallation, new ParsePushNotificationEventArgs(payload));
+ var payload = PushJson(args);
+ var handler = parsePushNotificationReceived;
23
+ if (handler != null) {
24
+ handler.Invoke(ParseInstallation.CurrentInstallation, new ParsePushNotificationEventArgs(payload));
25
+ }
26
}
27
);
28
0 commit comments