public void Stop() { if (IsActive) { AmeisenCore.LuaDoString($"abFrame:UnregisterAllEvents();"); AmeisenCore.LuaDoString("abFrame:SetScript(\"OnEvent\", nil)"); IsActive = false; EventReader.Join(); } }