projects
/
catagits/Catalyst-Devel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
4c4cfc5
)
Make all Restarter subclasses immutable
Dave Rolsky [Sat, 5 Feb 2011 20:17:56 +0000 (14:17 -0600)]
lib/Catalyst/Restarter/Forking.pm
patch
|
blob
|
blame
|
history
lib/Catalyst/Restarter/Win32.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Catalyst/Restarter/Forking.pm
b/lib/Catalyst/Restarter/Forking.pm
index
0897019
..
40c81f0
100644
(file)
--- a/
lib/Catalyst/Restarter/Forking.pm
+++ b/
lib/Catalyst/Restarter/Forking.pm
@@
-36,6
+36,8
@@
sub _kill_child {
wait;
}
+__PACKAGE__->meta->make_immutable;
+
1;
__END__
diff --git
a/lib/Catalyst/Restarter/Win32.pm
b/lib/Catalyst/Restarter/Win32.pm
index
fb24a23
..
d0f43a1
100644
(file)
--- a/
lib/Catalyst/Restarter/Win32.pm
+++ b/
lib/Catalyst/Restarter/Win32.pm
@@
-31,6
+31,8
@@
sub _kill_child {
$self->_child->die;
}
+__PACKAGE__->meta->make_immutable;
+
1;
__END__