stevieb9 / rpi-wiringpi

Perl interface to Raspberry Pi's board, GPIO and various sensors and ICs
7 stars 1 forks source link

in Util, call to delete env var is misplaced in cleanup() #32

Closed stevieb9 closed 7 years ago

stevieb9 commented 7 years ago

In Util::cleanup(), delete $ENV{RPI_PINS}; should be moved to before or after the for() loop, not called on every iteration of it.