]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/src/runnable.cpp
Se agrega un poco mas de info de debug y se corrige un detalle.
[z.facultad/75.42/plaqui.git] / Server / src / runnable.cpp
index c134b834fbe0709a0314b241a72d93b9cce74661..d9d5048ecbacf0dea076a3c43ab22251e7c317dc 100644 (file)
@@ -61,6 +61,7 @@ void Runnable::static_run(Runnable* runner) {
 #endif // DEBUG
        runner->real_run();
        runner->finished();
+       //runner->thread->join();
        delete runner;
 }
 
@@ -75,7 +76,7 @@ void Runnable::run(bool detach) {
                // finalizar, pasandole el puntero al objeto.
                thread = Glib::Thread::create(
                                SigC::bind<Runnable*>(SigC::slot(&Runnable::static_run), this),
-                               true);
+                               true);//false);
        // Si no corremos la tarea normalmente.
        } else {
                real_run();