Skip to content

Commit 7bce30f

Browse files
author
smellai
committed
fixed upload network
1 parent 9c5c7b1 commit 7bce30f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/socket-daemon.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,9 @@ export default class SocketDaemon extends Daemon {
412412
* }
413413
*/
414414
upload(target, data) {
415-
this.closeSerialMonitor(target.port);
415+
if (!target.network) {
416+
this.closeSerialMonitor(target.port);
417+
}
416418
this.uploading.next({ status: this.UPLOAD_IN_PROGRESS });
417419

418420
if (data.files.length === 0) { // At least one file to upload

0 commit comments

Comments
 (0)