
GameWindow dispose on linux
Posted Wednesday, 23 September, 2009 - 04:42 by zahirtezcan| Project: | The Open Toolkit library |
| Version: | 0.9.9-3 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
in main method i basically use
using(MyWindow window = new MyWindow()) { window.Run(); }
for running my window. But upon exit app output shows:
X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 4 (X_DestroyWindow) Resource id in failed request: 0x3200002 Serial number of failed request: 69 Current serial number in output stream: 71
and debugging session do not end until i explicitly finish debugging (monodevelop 2.2)
if i skip "using" and just create window ie:
MyWindow window = new MyWindow(); window.Run();
no error occurs upon exit.
MyWindow's ctor is here:
public MyWindow () :base(800,600, GraphicsMode.Default, "Some Title") { }


Comments
#1
This should be fixed in rev. 2358. Please reopen if you still encounter this.
#2
Closing issues fixed in 0.9.9-3.
#3
its fixed, thank you