Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Add thread-safety to TypeAdaptor method adaptation
Synchronization logic has been added to the method adaptation process in the TypeAdaptor class to prevent multi-threading issues. This change was necessary because without synchronization, simultaneous modifications by multiple threads could lead to inconsistent or unexpected results. The relevant issue can be found at #5619.