Don't unimport moose keywords in the middle of a modifier.
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Engine / HTTP / Restarter.pm
index 0cae243..c20943a 100644 (file)
@@ -68,9 +68,10 @@ around run => sub {
     }
 
     return $self->$orig( $class, $port, $host, $options );
-    no Moose;
 };
 
+no Moose;
+
 1;
 __END__