We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd1d0f4 commit 9721872Copy full SHA for 9721872
core/common/Logger.hpp
@@ -75,6 +75,7 @@ class Logger
75
}
76
void printAll()
77
{
78
+ std::cout << "\nLogs:=======================================\n";
79
for (std::size_t i = 0; i < this->messages.size(); ++i)
80
std::cout << this->messages[i] << std::endl;
81
core/kernel/Process.hpp
@@ -53,6 +53,14 @@ class Process
53
this->threads.clear();
54
55
for (Mutex* mutex : this->mutexList) delete mutex;
56
+
57
+ for (FileHandleInterface* handle : this->fdTable)
58
+ {
59
+ if (handle != nullptr)
60
+ delete handle;
61
+ }
62
63
+ this->fdTable.clear();
64
this->mutexList.clear();
65
66
};
0 commit comments