[Bps-public-commit] r16905 - in IPC-PubSub: lib/IPC/PubSub/Cache
alexmv at bestpractical.com
alexmv at bestpractical.com
Tue Nov 18 18:37:41 EST 2008
Author: alexmv
Date: Tue Nov 18 18:37:41 2008
New Revision: 16905
Modified:
IPC-PubSub/ (props changed)
IPC-PubSub/lib/IPC/PubSub/Cache/Memcached.pm
Log:
r39279 at kohr-ah: chmrr | 2008-11-18 18:37:25 -0500
* We don't need to force select_timeout anymore, and it causes
explosions if called during global destruction, when $$self->[0]
(_part_ of the pseudohash) may have gone missing already, but the
object itself is still there. So $$self->{anything} explodes with
"not a hash reference" _sometimes_, despite $$self always being an
arrayref.
..friends don't let friends use pseudohashes.
Modified: IPC-PubSub/lib/IPC/PubSub/Cache/Memcached.pm
==============================================================================
--- IPC-PubSub/lib/IPC/PubSub/Cache/Memcached.pm (original)
+++ IPC-PubSub/lib/IPC/PubSub/Cache/Memcached.pm Tue Nov 18 18:37:41 2008
@@ -73,8 +73,6 @@
sub unlock {
my ($self, $chan) = @_;
- my $timeout = $$self->{'select_timeout'};
- $$self->{'select_timeout'} = undef;
return 1 if $$self->delete("lock:$chan");
return 0;
}
More information about the Bps-public-commit
mailing list