Some additional experimentation today indicates that there are actually two, related leaks.
- one caused by calling xulG.set_tab() from inside a page-level command handler
- one caused by invoking circ.checkout.print()
Clicking the 'Done' button does both. The test where I commend out the call to circ,checkout.print() revealed the first type of leak, but hid that there is actually a leak from the latter.
In other words, the leak cannot be worked around by using the print receipt button, then using F1 to reset the checkout session.
Some additional experimentation today indicates that there are actually two, related leaks.
- one caused by calling xulG.set_tab() from inside a page-level command handler print()
- one caused by invoking circ.checkout.
Clicking the 'Done' button does both. The test where I commend out the call to circ,checkout. print() revealed the first type of leak, but hid that there is actually a leak from the latter.
In other words, the leak cannot be worked around by using the print receipt button, then using F1 to reset the checkout session.