brightray/brightray — pull request #66 by zcbenz (2014-08-08 04:51:13+00:00)
Title: mac: Close devtools when web contents is destroyed.

After the `BRYInspectableWebContentsView` is added as subview to other `NSWindow` owned by users, the `view_` would not be dealloc when the web contents got destroyed, which made the devtools window a ghost until user's `NSWindow` got released.

Fixes https://github.com/atom/atom-shell/issues/559.