Skip to content

run CFRunLoopRun if NSApp:run finishes on its own#9854

Merged
takluyver merged 1 commit into
ipython:masterfrom
minrk:osx-inputhook-last-window
Aug 10, 2016
Merged

run CFRunLoopRun if NSApp:run finishes on its own#9854
takluyver merged 1 commit into
ipython:masterfrom
minrk:osx-inputhook-last-window

Conversation

@minrk
Copy link
Copy Markdown
Member

@minrk minrk commented Aug 10, 2016

This seems to happen when the last Window is closed, but the eventloop needs to run a little longer in order to finish closing the Window.

closes #9734

this seems to happen when the last Window is closed,
but the eventloop needs to run a little longer in order to finish closing the Window
@takluyver
Copy link
Copy Markdown
Member

I obviously can't test this; do you want to get other affected people to try it before we merge? If you're happy, feel free to merge it yourself.

@takluyver takluyver added this to the 5.1 milestone Aug 10, 2016
@willingc
Copy link
Copy Markdown
Member

@minrk and @takluyver PR works on my OS X configuration to close last figure window.

@minrk
Copy link
Copy Markdown
Member Author

minrk commented Aug 10, 2016

I could reliably reproduce the bug, and this fixes it for me. @willingc's corroboration seems like enough to merge.

@takluyver takluyver merged commit a1be241 into ipython:master Aug 10, 2016
@minrk minrk deleted the osx-inputhook-last-window branch January 13, 2017 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot close last figure window

3 participants