(Case 1249696) Standalone profiler records in editor mode when Playmode only is selected

It is possible to make the Standalone Profiler record in Editor mode while Playmode only recording is selected.

This is reproducible in an empty project:

In Editor Mode open the Standalone Profiler [Window->Analysis->Profiler (Standalone Process)]
Notice that it displays [RECORDING PLAY] and has Playmode selected and it is NOT recording (as expected)
Switch from Playmode to Editor
Now it displays [RECORDING EDIT] and starts recording (as expected)
Close the profiler
Open the Standalone Profiler again
Notice that it displays [RECORDING PLAY] and has Playmode selected
Also notice that it starts recording even we are still in editor mode

Hi,
Thanks for the bug report. :)
You've already gotten the reply but to anyone else coming across this, we already know about this and are tracking it as issue 1243225 here: https://issuetracker.unity3d.com/issues/standalone-profiler-records-editor-performance-when-its-switched-to-monitor-the-play-mode