projects
/
Biblio-RFID.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f804f9
)
_invalidate_tag when it leaves reader range
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 6 Aug 2010 22:27:40 +0000
(
00:27
+0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 6 Aug 2010 22:27:40 +0000
(
00:27
+0200)
lib/RFID/Biblio/Reader.pm
patch
|
blob
|
history
diff --git
a/lib/RFID/Biblio/Reader.pm
b/lib/RFID/Biblio/Reader.pm
index
c7ee687
..
e99a35f
100644
(file)
--- a/
lib/RFID/Biblio/Reader.pm
+++ b/
lib/RFID/Biblio/Reader.pm
@@
-66,6
+66,7
@@
sub tags {
foreach my $tag ( grep { $self->{inventory}->{$_} == 0 } keys %{ $self->{inventory} } ) {
$triggers->{leave}->( $self, $tag ) if $triggers->{leave};
+ $self->_invalidate_tag( $tag );
}
}