handleShutdown() Called when auto refresh is on and profiling session will finish
to give the panel chance to do some cleanup before asynchrounous
call to updateLiveResults() will happen.
Called when auto refresh is on and profiling session will finish
to give the panel chance to do some cleanup before asynchrounous
call to updateLiveResults() will happen.
Here the context menu should be closed if open, otherwise it
would block updating the results.