mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-04 09:45:19 +08:00
Fix bug when replaceHook failed Hook APP crashed unconsciously and add hooked method return type checking
This commit is contained in:
@@ -520,6 +520,8 @@ fun intercept()
|
||||
|
||||
!> 这将会禁止此方法执行并返回 `null`。
|
||||
|
||||
!> 注意:例如 `Int`、`Long`、`Boolean` 常量返回值的方法一旦被设置为 null 可能会造成 Hook APP 抛出异常。
|
||||
|
||||
#### removeSelf [method]
|
||||
|
||||
```kotlin
|
||||
|
Reference in New Issue
Block a user