projects
/
scpubgit/Object-Remote.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
unix socket connector
[scpubgit/Object-Remote.git]
/
lib
/
Object
/
Remote
/
Handle.pm
diff --git
a/lib/Object/Remote/Handle.pm
b/lib/Object/Remote/Handle.pm
index
1a757ab
..
cc0d4ff
100644
(file)
--- a/
lib/Object/Remote/Handle.pm
+++ b/
lib/Object/Remote/Handle.pm
@@
-27,7
+27,9
@@
sub proxy {
sub BUILD {
my ($self, $args) = @_;
- unless ($self->id) {
+ if ($self->id) {
+ $self->disarm_free;
+ } else {
die "No id supplied and no class either" unless $args->{class};
ref($_) eq 'HASH' and $_ = [ %$_ ] for $args->{args};
$self->_set_id(