##// END OF EJS Templates
Always run the OS X loop even if no windows....
Matthias Bussonnier -
Show More
@@ -127,12 +127,6 b' def _stop_on_read(fd):'
127 def inputhook(context):
127 def inputhook(context):
128 """Inputhook for Cocoa (NSApp)"""
128 """Inputhook for Cocoa (NSApp)"""
129 NSApp = _NSApp()
129 NSApp = _NSApp()
130 window_count = msg(
131 msg(NSApp, n('windows')),
132 n('count')
133 )
134 if not window_count:
135 return
136 _stop_on_read(context.fileno())
130 _stop_on_read(context.fileno())
137 msg(NSApp, n('run'))
131 msg(NSApp, n('run'))
138 if not _triggered.is_set():
132 if not _triggered.is_set():
General Comments 0
You need to be logged in to leave comments. Login now