Remove at end

This commit is contained in:
2019-11-11 13:21:52 -06:00
parent 4f59d940d7
commit a6deffc3bc

View File

@@ -236,20 +236,19 @@ class MountItems extends IPCContainer {
Mounted: (arg.data.Location.length > 0), Mounted: (arg.data.Location.length > 0),
}; };
this.props.setMountState(provider, mountState); this.props.setMountState(provider, mountState);
this.removeMountsBusy(provider);
this.updateMountLocation(provider, arg.data.Location, mountState.Mounted, arg.data.DriveLetters); this.updateMountLocation(provider, arg.data.Location, mountState.Mounted, arg.data.DriveLetters);
this.props.setAutoMountProcessed(provider,true); this.props.setAutoMountProcessed(provider,true);
this.removeMountsBusy(provider);
} else { } else {
this.props.notifyError(arg.data.Error); this.props.notifyError(arg.data.Error);
} }
}; };
onMountDriveReply = (event, arg) => { onMountDriveReply = (event, arg) => {
this.removeMountsBusy(arg.data.Provider);
this.props.setMounted(arg.data.Provider, arg.data.Success); this.props.setMounted(arg.data.Provider, arg.data.Success);
this.detectMount(arg.data.Provider); this.detectMount(arg.data.Provider);
this.removeMountsBusy(arg.data.Provider);
}; };
onUnmountDriveReply = (event, arg) => { onUnmountDriveReply = (event, arg) => {