Prevent user switch from live and playback tab (and vice versa)

Hi, I’m developing a plugin for milestone client.

I have a side panel plugin that sometime make a lot of operation in background…

I need to prevent that user change from live tab to playback tab (and vice versa)

as long my process is running… how can I do that?

thank you so much

Giovanni

I see no way that you can prevent a user from making the switch while your process is running.