Skip to content

Commit 7fcc964

Browse files
committed
fix: #14 Удаление временных файлов при ошибки выполнения приложения
1 parent 8c87b34 commit 7fcc964

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/cmd/gitsync3.os

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
///////////////////////////////////////////////////////////////////
22
//
33
#Использовать cli
4+
#Использовать tempfiles
45
#Использовать "../core"
56
#Использовать "."
67

@@ -86,6 +87,8 @@
8687
Исключение
8788

8889
Лог.КритичнаяОшибка(ОписаниеОшибки());
90+
ВременныеФайлы.Удалить();
91+
8992
ЗавершитьРаботу(1);
9093

9194
КонецПопытки;

0 commit comments

Comments
 (0)