lua-users home
lua-l archive

Coroutine __close metamethod proposal

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello list,
Does it make sense to give coroutines a metatable that would have
__close call coroutine.kill ? I think this can likely be done using
the debug library, but it seems to be natural behaviour to use as
default...
Best regards,
-- 
DoubleF

AltStyle によって変換されたページ (->オリジナル) /