awesome/spec
Uli Schlachter 0fdecfb2df Add a test case capturing problems with weak_connect_signal (#520)
This adds a cyclic dependency between the function used for the weak signal and
an object with a __gc metamethod. The problem occurs since the GC will first
finalize the object (call its __gc metamethod) and only in the next generation
will it actually collect the garbage and remove the functions from weak-tables
using it as a key.

And yes this needs special code for Lua 5.1 because there __gc doesn't work on
tables. :-(

Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-12-10 23:19:52 +01:00
..
awful Add new file spec/awful/keyboardlayout_spec.lua 2015-09-13 01:19:00 +09:00
gears Add a test case capturing problems with weak_connect_signal (#520) 2015-12-10 23:19:52 +01:00
menubar Enhance menubar icon path lookup 2015-09-26 11:45:38 +09:00
wibox Add some constructor arguments to some layouts 2015-10-17 14:50:46 +02:00
preload.lua Fix sporadic test failure due to lgi 2015-07-29 21:31:47 +02:00