ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/lib/cf.pm
(Generate patch)

Comparing deliantra/server/lib/cf.pm (file contents):
Revision 1.408 by root, Mon Jan 14 10:12:12 2008 UTC vs.
Revision 1.409 by root, Mon Jan 14 11:41:48 2008 UTC

3562sub reload_perl() { 3562sub reload_perl() {
3563 # doing reload synchronously and two reloads happen back-to-back, 3563 # doing reload synchronously and two reloads happen back-to-back,
3564 # coro crashes during coro_state_free->destroy here. 3564 # coro crashes during coro_state_free->destroy here.
3565 3565
3566 $RELOAD_WATCHER ||= EV::timer 0, 0, sub { 3566 $RELOAD_WATCHER ||= EV::timer 0, 0, sub {
3567 do_reload_perl;
3567 undef $RELOAD_WATCHER; 3568 undef $RELOAD_WATCHER;
3568 do_reload_perl;
3569 }; 3569 };
3570} 3570}
3571 3571
3572register_command "reload" => sub { 3572register_command "reload" => sub {
3573 my ($who, $arg) = @_; 3573 my ($who, $arg) = @_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines