Opentk/Source
Stefanos A. 3c6682e080 GraphicsContext cannot be released by finalizer
On many/most platforms, GraphicsContexts can only be released by the
thread where they are current. This means that the user must call
GraphicsContext.Dispose() or risk a resource leak.

Since we cannot release contexts on the finalizer thread, we should keep
strong references, instead of weak references, until the user explicitly
calls Dispose().

This patch fixes issues with SDL2 crashing when running the MonoGame
WindowsGL test suite.
2013-12-16 10:43:56 +01:00
..
Bind Added overloads for compatibility with svn r3127 2013-12-16 01:55:05 +01:00
Build.UpdateVersion Merge master into no-reflect 2013-12-15 16:36:37 +01:00
Compatibility Normalized xml doc file paths 2013-12-15 23:24:17 +01:00
Converter Merge master into no-reflect 2013-12-15 16:36:37 +01:00
Examples Merge remote-tracking branch 'origin/master' into no-reflect 2013-12-05 14:53:37 +01:00
Generator.Rewrite Merge master into no-reflect 2013-12-15 16:36:37 +01:00
GLControl Merge master into no-reflect 2013-12-15 16:36:37 +01:00
OpenTK GraphicsContext cannot be released by finalizer 2013-12-16 10:43:56 +01:00