diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-02-12 11:00:22 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-02-12 11:40:05 +0000 |
commit | e475ae920a4f6026b78b0bbe80c83cf4060f610e (patch) | |
tree | c94566160150d64ddb0977bd10de93d87f4c2c85 /common.py | |
parent | 8ce747defa2dafebfa99f03913342d6aca995341 (diff) |
wgl: Do not reach out and destroy contexts on cleanup.
Simply skip cleanup when contexts are still active.
This addresses two issues:
- in some situations the ICD DLL may be unloaded before the DLL that is
using GL contexts is, so we may receive GL calls after stw_cleanup.
- when aborting (exception, or control-c) the contexts may have been left
in an inconsistent state and attempting to destroy can cause
unpredictable results.
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions