zahirtezcan's picture

GameWindow dispose on linux

Project:The Open Toolkit library
Version:0.9.9-3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
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

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

#1

Status:open» fixed

This should be fixed in rev. 2358. Please reopen if you still encounter this.

the Fiddler's picture

#2

Version:0.9.9-2b» 0.9.9-3
Status:fixed» closed

Closing issues fixed in 0.9.9-3.

zahirtezcan's picture

#3

its fixed, thank you