We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93d4bfa commit 95a1355Copy full SHA for 95a1355
1 file changed
extensions/menubar/internal.m
@@ -184,8 +184,8 @@ - (void) click:(id)sender {
184
[self callback_runner];
185
// error or return value (ignored in this case), we gotta cleanup
186
lua_pop(self.L, 1) ;
187
- myDelegate = nil ;
188
_lua_stackguard_exit(self.L);
+ myDelegate = nil ; // NOTE: DO NOT USE `self` AFTER THIS POINT, IT WILL HAVE BEEN DEALLOCATED.
189
}
190
@end
191
0 commit comments