Do not display warnings for threads anymore.
[people/stevee/guardian.git] / guardian
index f3c287b..f0d890d 100644 (file)
--- a/guardian
+++ b/guardian
@@ -34,6 +34,9 @@ require Guardian::Socket;
 
 use warnings;
 
+# Disable warnings of unjoinded threads when stopping guardian.
+no warnings 'threads';
+
 # Define version.
 my $version ="2.0";