mirror of
https://github.com/revanced/revanced-patcher.git
synced 2025-05-06 23:24:26 +02:00
fix: clear method lookup maps before initializing them (#210)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
parent
c65c3df11c
commit
746544f9d5
@ -99,7 +99,7 @@ abstract class MethodFingerprint(
|
|||||||
methodClassPairs!!.add(methodClassPair)
|
methodClassPairs!!.add(methodClassPair)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (methods.isNotEmpty()) throw PatchResultError("Map already initialized")
|
if (methods.isNotEmpty()) MethodFingerprint.clearFingerprintResolutionLookupMaps()
|
||||||
|
|
||||||
context.classes.classes.forEach { classDef ->
|
context.classes.classes.forEach { classDef ->
|
||||||
classDef.methods.forEach { method ->
|
classDef.methods.forEach { method ->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user