mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-07-14 15:02:50 +03:00
GitPlugin: Allow to ammend last commit. Improved thread safety. Reduced some calls.
This commit is contained in:
@@ -53,7 +53,7 @@ FormatterPlugin::~FormatterPlugin() {
|
||||
mWorkerCondition.wait( lock, [this]() { return mWorkersCount <= 0; } );
|
||||
}
|
||||
|
||||
for ( auto editor : mEditors ) {
|
||||
for ( auto& editor : mEditors ) {
|
||||
for ( auto& kb : mKeyBindings ) {
|
||||
editor.first->getKeyBindings().removeCommandKeybind( kb.first );
|
||||
if ( editor.first->hasDocument() )
|
||||
|
||||
Reference in New Issue
Block a user