Permalink
Browse files

fix crashing on timeout

  • Loading branch information...
1 parent d8db0e6 commit 087cf991a3b78ddeea9d0eab8b6c058aa575db67 @charliesome charliesome committed with Nov 29, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 webkit2png
View
@@ -48,8 +48,8 @@ class AppDelegate (Foundation.NSObject):
self.performSelector_withObject_afterDelay_( "timeout:", None, 60 )
def timeout_(self, obj):
- NSLog("timed out!")
- NSApplication.sharedApplication().terminate_(None)
+ Foundation.NSLog("timed out!")
+ AppKit.NSApplication.sharedApplication().terminate_(None)
class WebkitLoad (Foundation.NSObject, WebKit.protocols.WebFrameLoadDelegate):

0 comments on commit 087cf99

Please sign in to comment.