> Some solutions I could imagine:
> - Add some "key=lwuserdada, value=userdata with __gc metatable" to the
> library table ... tested, works ... but seems like an inelegant workaround
> and "what is this undocumented userdata in your libary"
I would suggest this approach, but adding this entry into the registry
instead of in the library.