IsDirectShareInProgress return false while direct sharing

Dear @carson.zoom,

Really appreciate your help!
Yes, I mean user left the meeting without a normal process with system command killing the meeting app while still in meeting & sharing.
I found if user restart the app within 5 mins, user is unable to share the desktop again, seems similar like below issue.
Please suggest if zoom-sdk-electron have the same issue as zoom-sdk-web.
I’m wondering if I can detect sharing status and stop previous sharing before user start to share the desktop.
Thank you!