Commit 72e33e84 authored by Dmitry Jemerov's avatar Dmitry Jemerov
Browse files

Fix EditorActionPerformanceTest

parent 99bd5a6c
Showing with 3 additions and 1 deletion
+3 -1
......@@ -73,7 +73,9 @@ public abstract class EditorAction extends AnAction implements DumbAware {
Editor editor = getEditor(dataContext);
if (this instanceof LatencyAwareEditorAction && editor != null) {
String actionId = ActionManager.getInstance().getId(this);
LatencyRecorder.getInstance().recordLatencyAwareAction(editor, actionId, e);
if (actionId != null) {
LatencyRecorder.getInstance().recordLatencyAwareAction(editor, actionId, e);
}
}
actionPerformed(editor, dataContext);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment