Correct garbage collecting the unhook ticket.
authorRui Guo <firemeteor.guo@gmail.com>
Tue, 16 Jun 2009 15:08:44 +0000 (23:08 +0800)
committerRui Guo <firemeteor.guo@gmail.com>
Tue, 16 Jun 2009 15:08:44 +0000 (23:08 +0800)
commit8e1c73eb1bedc411909d70496077bf65819beeac
tree21c2bda71a036c291bdd73500ad2f61a370db0d4
parentd198e049e29651708e7ca6fb5e6b4c9bc3994b56
Correct garbage collecting the unhook ticket.

1. Also register unhook ticket for func registered with name.
2. We need two passes of GC collection after last commit.
src/lua.c