Descriptionmac: Fix Yosemite crash while attempting to open multiple files.
Attemping to open multiple files using the native Cocoa dialog causes a crash.
This CL inserts a safety check to work around it.
A Yosemite AppKit bug causes an NSWindowWillCloseNotification to be sent during
the -dealloc for a specific NSWindow. Any autoreleases sent to that window must
be drained before the window finishes -dealloc.
BUG=406944
Committed: https://crrev.com/e4dd0bd72be65f663b638e956916af1ca9d7d245
Cr-Commit-Position: refs/heads/master@{#295507}
Patch Set 1 #
Messages
Total messages: 8 (2 generated)
|