diff --git a/Hammerspoon/MJLua.m b/Hammerspoon/MJLua.m index 325c0a500..be71b0c0f 100644 --- a/Hammerspoon/MJLua.m +++ b/Hammerspoon/MJLua.m @@ -643,8 +643,6 @@ void callAccessibilityStateCallback(void) { lua_State *L = MJLuaState.L; _lua_stackguard_entry(L); - [skin growStack:2 withMessage:"callAccessibilityStateCallback"]; - lua_getglobal(L, "hs"); lua_getfield(L, -1, "accessibilityStateCallback"); diff --git a/extensions/application/watcher.m b/extensions/application/watcher.m index 39d964065..80854d9c6 100644 --- a/extensions/application/watcher.m +++ b/extensions/application/watcher.m @@ -85,7 +85,6 @@ - (void)callback:(NSDictionary*)dict withEvent:(event_t)event { LuaSkin *skin = [LuaSkin shared]; lua_State *L = skin.L; _lua_stackguard_entry(L); - [skin growStack:4 withMessage:"hs.application.watcher:callback"]; // Depending on the event the name of the NSRunningApplication object may not be available // anymore. Fallback to the application name which is provided directly in the notification diff --git a/extensions/http/internal.m b/extensions/http/internal.m index ccccdba23..718949828 100644 --- a/extensions/http/internal.m +++ b/extensions/http/internal.m @@ -104,8 +104,6 @@ - (void)connection:(NSURLConnection * __unused)connection didFailWithError:(NSEr LuaSkin *skin = [LuaSkin shared]; _lua_stackguard_entry(skin.L); - [skin growStack:4 withMessage:"hs.http connectionDelegate:didFailWithError"]; - NSString* errorMessage = [NSString stringWithFormat:@"Connection failed: %@ - %@", [error localizedDescription], [[error userInfo] objectForKey:NSURLErrorFailingURLStringErrorKey]]; [skin pushLuaRef:refTable ref:self.fn]; lua_pushinteger(self.L, -1);