Copy link to clipboard
Copied
I use macbook pro and my system is OS X 10.10.3. And I have a external monitor. My SDK version is 18.0.
Use the following code:
private var nativeWindow:NativeWindow;
public function DemoProject()
{
nativeWindow = new NativeWindow(new NativeWindowInitOptions());
nativeWindow.activate();
setTimeout(activeLater,2000);
}
private function activeLater():void
{
nativeWindow.close();
}
When starting the project the windows appeared in my macbook's monitor. After the 'nativeWindow' closed, I close my macbook's lid. And then the Air application crashed when it adjusting it's position to the external monitor.
I guess there is some list keep the nativeWindow in air. And it doesn't remove the closed window.
This problem is really serious.
Bug: Bug#4015785 - Air Application crashed in Mac os x with multi monitor
Thx