MikeHT (137) [Avatar] Offline
When I run this test, the message "Shutting down" from CreditCardProcessor.shutdown() comes out twice. Anyone else notice this and know why?
Kostis Kapelonis (63) [Avatar] Offline

You have found a bug in the code! Congrats!

The reason is that the Billable basket calls shutdown by itself.


So you see the message twice. Once from the Autoclose feature and once from the basket.

I will try to fix it!

Thank you.
Kostis Kapelonis (63) [Avatar] Offline

I have fixed the bug


If you now get the latest version of the code from git and run the test again you should see the message printed only once

Thank you