Minor fixes
This commit is contained in:
@@ -53,8 +53,8 @@ const unmountAllDrives = () => {
|
||||
}
|
||||
|
||||
// Unmount all items
|
||||
for (const i in mountedLocations) {
|
||||
const data = mountedData[mountedLocations[i]];
|
||||
for (const mountLocation of mountedLocations) {
|
||||
const data = mountedData[mountLocation];
|
||||
helpers.stopMountProcessSync(data.Version, data.Provider, data.Remote, data.S3);
|
||||
}
|
||||
|
||||
@@ -252,7 +252,7 @@ const addListeners = (ipcMain, {setTrayImage, standardIPCReply}) => {
|
||||
}
|
||||
});
|
||||
|
||||
ipcMain.on(Constants.IPC_Unmount_All_Drives, (event, data) => {
|
||||
ipcMain.on(Constants.IPC_Unmount_All_Drives, event => {
|
||||
unmountAllDrives();
|
||||
standardIPCReply(event, Constants.IPC_Unmount_All_Drives_Reply);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user