Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/FFI/Platypus/Closure.pm
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,10 @@ all the reference of the object fall out of scope.
sub sticky
{
my($self) = @_;
return if $self->{sticky};
return $self if $self->{sticky};
$self->{sticky} = 1;
$self->_sticky;
return $self;
}

=head2 unstick
Expand Down
Loading