examples/lua: attempt to highlight some traps
authorKarl Palsson <karlp@etactica.com>
Tue, 30 Jun 2020 10:38:44 +0000 (10:38 +0000)
committerPetr Štetiar <ynezz@true.cz>
Sat, 11 Jul 2020 09:15:12 +0000 (11:15 +0200)
commitf4e9bf73ac5c0ee6b8f240e2a2100e70ca56d705
tree875a9e7f0f371e703d70f5412deb039655e12ced
parent53b9a2123fc6f0a7fa09ada066cbb0491c72bcf5
examples/lua: attempt to highlight some traps

Ran into some issues with my fd event being garbage collected.  As I
never wanted to call :delete, I had seen no reason to keep the returned
object, as my callback and upvalues were still valid.

Signed-off-by: Karl Palsson <karlp@etactica.com>
examples/uloop-example.lua