Fix entire session being stopped

This commit is contained in:
Marius Lindvall 2019-10-06 13:41:59 +02:00
parent f19067ec88
commit 0bed60a05e

View file

@ -319,7 +319,7 @@ public abstract class SessionManager {
* @param share The share to stop.
*/
public final void stopSharing(final Share share) {
new StopSharingPacket(this.ctx, share.getSession()) {
new StopSharingPacket(this.ctx, share) {
@Override
public void onSuccess() {
Log.i("Share %s was successfully stopped", share); //NON-NLS