Explorar o código

Set handle to NULL in clUnload().

Dario Manesku %!s(int64=11) %!d(string=hai) anos
pai
achega
aeb312c48a
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      include/bx/cl.h

+ 1 - 0
include/bx/cl.h

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