Closed halo-sp closed 3 years ago
…y leaks
Calling set twice to the same original function will cause the func_stub object created in the first set to be out of control and not released, so may need to check before inserting the map
I found that calling set twice to the same original function will cause memory leaks. This PR solved the problem. May you can accept.
Thanks, bug fixed. Modify to call reset() on each set(). #13
…y leaks
Calling set twice to the same original function will cause the func_stub object created in the first set to be out of control and not released, so may need to check before inserting the map