Philip Withnall e818089b70 tests: Fix use-after-free in reference tests
Switch the check which tests whether the object has been finalised from
being a use-after-free, to using a weak pointer which is nullified on
finalisation.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
2018-06-29 13:55:24 +01:00
..
2015-10-23 11:28:03 -04:00
2014-05-30 10:22:35 -04:00
2018-06-14 11:33:53 +01:00
2017-05-24 11:58:19 +02:00
2016-08-27 22:54:39 -04:00
2013-05-29 08:37:08 -04:00