Parcourir la source

pdevs/multithreading: add delete to thread in Coordinator

Eric Ramat il y a 9 ans
Parent
commit
c69ba0c075
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      src/paradevs/kernel/pdevs/multithreading/Coordinator.hpp

+ 1 - 0
src/paradevs/kernel/pdevs/multithreading/Coordinator.hpp

@@ -109,6 +109,7 @@ public:
     {
         done();
         _thread->join();
+        delete _thread;
     }
 
     void done()