xbmc/xbmc — pull request #1438 by t-nelson (2012-09-17 14:48:46+00:00)
Title: Wait for BGInfoLoader threads to stop before deleting them

If we don't wait here, we access a freed pointer in
CJobQueue::CJobPointer::operator== on app exit while the infoloader
is still running.