Disposing context error.

Project:AgateLib
Version:0.3.x-dev
Component:Core
Category:bug report
Priority:normal
Assigned:kanato
Status:open
Description

The Output after I close the application.
Disposing context 196608.
Disposing context 131073.
The thread 0x1414 has exited with code 0 (0x0).
The thread 0x1194 has exited with code 0 (0x0).
[Warning] Failed to release device context -654241039. Windows error: 2.
[Warning] Failed to release device context -1476328217. Windows error: 2.

The application uses AgateOTK and AgateSDK. SVN BUILD

#1

Version:0.3.1» 0.3.x-dev
Component:Unknown» AgateOTK
Priority:normal» minor

I think this is related to the order in which things are destroyed. In certain scenarios the form will get disposed before the graphics context is.

#4

Title:Device Context not released» Disposing context error.
Component:AgateOTK» Core
Priority:minor» normal
Assigned to:Anonymous» kanato