Check the validity of context menu after it gets closed.
author Jekyll Wu
()
committer Kurt Hindenburg
()
commit 000f84299c00e782dda75244d5daf35e1c88794c
tree 0d0a4d2fd6be04ff36b1e0bc80a5959640513ea7
parent f8794521523836fae110f23a60a2953ae02ee121
Check the validity of context menu after it gets closed.

The patch is from Francesco Cecconi <francesco.cecconi@gmail.com>,
with slight modification by committer.

BUG: 233377
FIXED-in : 4.8
(cherry picked from commit 0f89f1bba96163ab5dd37ab974927b5566439d36)
src/SessionController.cpp