symbol-db: Keep a reference to the SymbolDBQuery when running it in a thread.
commit0d675b2b3b2536d5fc8f6b237ebf800629a51ad7
authorCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>
Mon, 19 Nov 2012 16:57:16 +0000 (19 17:57 +0100)
committerMassimo CorĂ  <mcora@src.gnome.org>
Wed, 21 Nov 2012 22:54:19 +0000 (21 23:54 +0100)
tree8082c6f7578a17b4579a26c27ce5f63dfc09ca9b
parent166754a6975d0e6b19f77f8b03125778d333ccdd
symbol-db: Keep a reference to the SymbolDBQuery when running it in a thread.

This fixes a crasher where the SymbolDBQuery was finalized before all the started threads had
finished. It also caused the warning in symbol-db-query.c:826 to be printed.

https://bugzilla.gnome.org/show_bug.cgi?id=688658
plugins/symbol-db/symbol-db-query.c