Commit 077ee32e authored by Devon Carew's avatar Devon Carew

guard against npe

parent 677a80c1
......@@ -105,7 +105,7 @@ class Adb {
});
socket.done.then((_) => controller.close());
},
onCancel: () => socket.destroy()
onCancel: () => socket?.destroy()
);
return controller.stream;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment