fix: clear hook throwable

This commit is contained in:
particle-box
2026-01-19 22:16:00 +05:30
parent caf57bfb5e
commit 204fde4857

View File

@@ -50,6 +50,10 @@ class HookAdapter(
methodHookParam.throwable = throwable
}
fun clearThrowable() {
methodHookParam.throwable = null
}
fun throwable(): Throwable? {
return methodHookParam.throwable
}
@@ -73,4 +77,4 @@ class HookAdapter(
errorCallback.accept(it)
}
}
}
}