Make all Restarter subclasses immutable
Dave Rolsky [Sat, 5 Feb 2011 20:17:56 +0000 (14:17 -0600)]
lib/Catalyst/Restarter/Forking.pm
lib/Catalyst/Restarter/Win32.pm

index 0897019..40c81f0 100644 (file)
@@ -36,6 +36,8 @@ sub _kill_child {
     wait;
 }
 
+__PACKAGE__->meta->make_immutable;
+
 1;
 
 __END__
index fb24a23..d0f43a1 100644 (file)
@@ -31,6 +31,8 @@ sub _kill_child {
     $self->_child->die;
 }
 
+__PACKAGE__->meta->make_immutable;
+
 1;
 
 __END__