Revert "added a missing case (fix share clear out bug)"

This reverts commit 27f693ff5eebd10126ee795572bf1ea4c6d389fa.