Skip to content

Commit 0a7408a

Browse files
Emit liveSyncStopped properly when stopping on all devices (NativeScript#3030)
Whenever stopping on all devices we should emit `liveSyncStopped` for each device.
1 parent 0388273 commit 0a7408a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/services/livesync/livesync-service.ts

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ export class LiveSyncService extends EventEmitter implements ILiveSyncService {
7272
await liveSyncProcessInfo.actionsChain;
7373
}
7474

75+
removedDeviceIdentifiers = _.map(liveSyncProcessInfo.deviceDescriptors, d => d.identifier);
7576
liveSyncProcessInfo.deviceDescriptors = [];
7677

7778
// Kill typescript watcher

0 commit comments

Comments
 (0)