From a6deffc3bc477dee8668bb5ccfdf2dc4e8dd7fcc Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Mon, 11 Nov 2019 13:21:52 -0600 Subject: [PATCH] Remove at end --- src/containers/MountItems/MountItems.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/containers/MountItems/MountItems.js b/src/containers/MountItems/MountItems.js index 68e7228..3725e10 100644 --- a/src/containers/MountItems/MountItems.js +++ b/src/containers/MountItems/MountItems.js @@ -236,20 +236,19 @@ class MountItems extends IPCContainer { Mounted: (arg.data.Location.length > 0), }; this.props.setMountState(provider, mountState); - this.removeMountsBusy(provider); this.updateMountLocation(provider, arg.data.Location, mountState.Mounted, arg.data.DriveLetters); - this.props.setAutoMountProcessed(provider,true); + this.removeMountsBusy(provider); } else { this.props.notifyError(arg.data.Error); } }; onMountDriveReply = (event, arg) => { - this.removeMountsBusy(arg.data.Provider); this.props.setMounted(arg.data.Provider, arg.data.Success); this.detectMount(arg.data.Provider); + this.removeMountsBusy(arg.data.Provider); }; onUnmountDriveReply = (event, arg) => {