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.
1 parent 6d2dae7 commit f199351Copy full SHA for f199351
extensions/notify/internal.m
@@ -158,11 +158,11 @@ - (void)userNotificationCenter:(NSUserNotificationCenter *)center
158
// NSLog(@"invoking callback handler") ;
159
160
if ([skin protectedCallAndError:@"hs.notify callback" nargs:2 nresults:0] == NO) {
161
+ lua_pop(skin.L, 1); // pop the hs.notify module
162
_lua_stackguard_exit(skin.L);
163
return;
164
}
-
165
- // FIXME: Things have been pushed onto the Lua stack, we probably need some lua_pop()s here
166
167
BOOL shouldWithdraw = [[notification.userInfo valueForKey:@"autoWithdraw"] boolValue] ;
168
if (notification.deliveryRepeatInterval != nil) shouldWithdraw = YES ;
0 commit comments