in reply to Re: XS DESTROY not invoked
in thread XS DESTROY not invoked

I am not 100% sure why this work

Neither are we , because we couldn't try this code :)

Looks like all you did was remove prefix , and use a different package -- that could explain it (being in the wrong package)