# IsDirectShareInProgress return false while direct sharing

**URL:** <https://devforum.zoom.us/t/isdirectshareinprogress-return-false-while-direct-sharing/7735>\
**Category:** Electron\
**Created:** [January 28, 2020, 2:35pm UTC](https://devforum.zoom.us/t/isdirectshareinprogress-return-false-while-direct-sharing/7735 "2020-01-28T14:35:05Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![duochang](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@duochang](https://devforum.zoom.us/u/duochang)\
**Post date:** [February 3, 2020, 1:56am UTC](https://devforum.zoom.us/t/isdirectshareinprogress-return-false-while-direct-sharing/7735/5 "2020-02-03T01:56:58Z")

</div>

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!

> [@Closing app does not properly leave the meeting](https://devforum.zoom.us/t/closing-app-does-not-properly-leave-the-meeting/5928):
>
> Description/Error After joining a zoom meeting through the web sdk client, closing the app by closing the tab/window or refreshing the page doesn’t properly remove the user from the zoom meeting. On other clients, this user will continue to appear on the participants list and a frozen video will show for the user’s video stream. Expected behavior is observed by clicking on the “leave meeting” option. Otherwise, it is unclear if the web sdk user has left the meeting or if there is some technica…

---

_[View the full topic](https://devforum.zoom.us/t/isdirectshareinprogress-return-false-while-direct-sharing/7735)._
