diff --git a/PowerEditor/src/NppCommands.cpp b/PowerEditor/src/NppCommands.cpp index 76b80fed2..db157a6cc 100644 --- a/PowerEditor/src/NppCommands.cpp +++ b/PowerEditor/src/NppCommands.cpp @@ -47,8 +47,6 @@ std::mutex command_mutex; void Notepad_plus::macroPlayback(Macro macro) { - std::lock_guard lock(command_mutex); - _playingBackMacro = true; _pEditView->execute(SCI_BEGINUNDOACTION);