From ce108c98aa61571ddb81c122092ff1a4ce01be1d Mon Sep 17 00:00:00 2001 From: megai2 Date: Sun, 7 Jun 2020 17:40:09 +0300 Subject: [PATCH] disable sending client unload on d3d9 object removal client can destroy d3d9 object without unloading itself --- addon/d3d9_wrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon/d3d9_wrapper.cpp b/addon/d3d9_wrapper.cpp index 0c4a16e..b245280 100644 --- a/addon/d3d9_wrapper.cpp +++ b/addon/d3d9_wrapper.cpp @@ -118,7 +118,7 @@ void OnPostObjWrappedRelease(wrap_event_data* data) free(*data->stackPtr); //TODO: find more nice way to detect client unload - gAPI->client_unload(); + //gAPI->client_unload(); } }