Skip to content

Commit 36efbe1

Browse files
committed
Reset profiler zoomer when switching to another profile.
1 parent 5656130 commit 36efbe1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/profiler/profiler_view.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ var ProfilerView = function(id, name, container_class, html, default_handler)
349349
if (this._current_session_id)
350350
this._profiler.release_session(null, {session_id: this._old_session_id});
351351
this._reset();
352+
this._zoomer.reset();
352353
}
353354
};
354355

0 commit comments

Comments
 (0)