Skip to content

Commit 7b08369

Browse files
author
Alexey Samlyukov
committed
Upd. fix
1 parent 4b977bc commit 7b08369

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

updateex/UpdateEx.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,10 @@ template<class T>T StringToNumber(LPCWSTR String, T &Number)
214214

215215
bool Clean()
216216
{
217-
DeleteFile(PluginModule);
218-
RemoveDirectory(ipc.TempDirectory);
219217
if (!ipc.opt.SavePlugAfterInstall && !ipc.opt.SaveFarAfterInstall)
220218
DeleteFile(ipc.Cache);
219+
DeleteFile(PluginModule);
220+
RemoveDirectory(ipc.TempDirectory);
221221
return true;
222222
}
223223

0 commit comments

Comments
 (0)