Browse Source

Merge pull request #16 from dariomanesku/master

Set handle to NULL in clUnload().
Branimir Karadžić 11 years ago
parent
commit
8ebf3e4d87
1 changed files with 1 additions and 0 deletions
  1. 1 0
      include/bx/cl.h

+ 1 - 0
include/bx/cl.h

@@ -888,6 +888,7 @@ namespace bx
 			if (0 == ref)
 			if (0 == ref)
 			{
 			{
 				dlclose(m_handle);
 				dlclose(m_handle);
+				m_handle = NULL;
 			}
 			}
 
 
 			return ref;
 			return ref;