diff --git a/include/bx/cl.h b/include/bx/cl.h index c7b7bd7..62bfe89 100644 --- a/include/bx/cl.h +++ b/include/bx/cl.h @@ -888,6 +888,7 @@ namespace bx if (0 == ref) { dlclose(m_handle); + m_handle = NULL; } return ref;