Proprietary app unable to update

I'm trying to update my proprietary app but failed, I found there are 2 reasons blocking the app update

  1. video is playing in app
  2. the app is active in multitasking windowed mode

anyone has similar issue and how you address this?