Commit 00b062e14bef318378e483b5cd4c91bc14a1cc95
1 parent
d569f3d0
Exists in
master
Resolvendo erro relacionado a threads que aparecia na execução do install-cacic.
Showing
2 changed files
with
7 additions
and
1 deletions
Show diff stats
install-cacic/installcacic.cpp
... | ... | @@ -7,6 +7,11 @@ InstallCacic::InstallCacic(QObject *parent) : |
7 | 7 | logManager->addDestination("./log.txt","Install",QLogger::DebugLevel); |
8 | 8 | } |
9 | 9 | |
10 | +InstallCacic::~InstallCacic() | |
11 | +{ | |
12 | + logManager->closeLogger(); | |
13 | +} | |
14 | + | |
10 | 15 | void InstallCacic::run(QStringList argv, int argc) { |
11 | 16 | |
12 | 17 | QLogger::QLog_Debug("Install", "Inicio de instalacao"); |
... | ... | @@ -65,7 +70,7 @@ void InstallCacic::run(QStringList argv, int argc) { |
65 | 70 | << " [-help] Lista todos comandos.\n"; |
66 | 71 | } |
67 | 72 | |
68 | - logManager->closeLogger(); | |
73 | + | |
69 | 74 | emit finished(); |
70 | 75 | } |
71 | 76 | ... | ... |
install-cacic/installcacic.h