Skip to content

Commit 177456f

Browse files
committed
Clear out context in UsbTransferProvider.cancel()
1 parent 2ccb87d commit 177456f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

android/sdl_android/src/main/java/com/smartdevicelink/transport/UsbTransferProvider.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ public void checkIsConnected() {
179179
}
180180

181181
public void cancel() {
182+
context = null;
182183
if (isBound) {
183184
unBindFromService();
184185
}

0 commit comments

Comments
 (0)