Remove call of `OSDynLoad_Release` for handles that have not been acquired
This commit is contained in:
parent
9ad95fe6a8
commit
c719b4c8ac
|
@ -55,7 +55,6 @@ void FunctionAddressProvider::resetHandles() {
|
|||
for (int32_t i = 0; i < rpl_handles_size; i++) {
|
||||
if (rpl_handles[i].handle != nullptr) {
|
||||
DEBUG_FUNCTION_LINE_VERBOSE("Resetting handle for rpl: %s", rpl_handles[i].rplname);
|
||||
OSDynLoad_Release(rpl_handles[i].handle);
|
||||
}
|
||||
|
||||
rpl_handles[i].handle = nullptr;
|
||||
|
|
Loading…
Reference in New Issue