perl plugin: Removed commented code
authorPavel Rochnyack <pavel2000@ngs.ru>
Mon, 30 May 2016 06:00:38 +0000 (12:00 +0600)
committerSebastian Harl <sh@tokkee.org>
Mon, 30 May 2016 19:51:36 +0000 (21:51 +0200)
src/perl.c

index 434e808..1c0bb4a 100644 (file)
@@ -2143,11 +2143,6 @@ static int perl_shutdown (void)
                        nanosleep (&ts_wait, NULL);
                }
                if (thr->running) {
-                       /* This will crash collectd process later due to PERL_SYS_TERM() */
-                       //ERROR ("perl shutdown: thread hangs inside perl. "
-                       //       "Skipped perl interpreter destroy.");
-                       //continue;
-                       
                        ERROR ("perl shutdown: thread hangs inside perl. Thread killed.");
                        pthread_kill (thr->pthread, SIGTERM);
                }