~ruther/NosSmooth.Local

1499c7b40ecf8d817c7934233251110cc1c973d1 — Rutherther 2 years ago 9ac3d2d
feat(client): disable all hooks after nostale client stopped
1 files changed, 3 insertions(+), 0 deletions(-)

M src/Core/NosSmooth.LocalClient/NostaleLocalClient.cs
M src/Core/NosSmooth.LocalClient/NostaleLocalClient.cs => src/Core/NosSmooth.LocalClient/NostaleLocalClient.cs +3 -0
@@ 114,6 114,9 @@ public class NostaleLocalClient : BaseNostaleClient
        _hookManager.PlayerWalk.Called -= Walk;
        _hookManager.PetWalk.Called -= PetWalk;

        // the hooks are not needed anymore.
        _hookManager.DisableAll();

        return Result.FromSuccess();
    }


Do not follow this link