Skip to content

Commit 709e7a3

Browse files
author
Ivan Trofimov
committed
fix engine: don't lock in ~TaskContext when there are no plugins
1 parent 83e0706 commit 709e7a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/engine/plugin_manager.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class PluginManager final {
4646
empty = plugins_.empty();
4747
}
4848

49-
if (empty) {
49+
if (!empty) {
5050
has_any_plugin_ = true;
5151
}
5252
}

0 commit comments

Comments
 (0)