Updater: Fix crash on exit
Updater: Fix crash on exit

Make sure we wait for the updater thread before deleting the
object.

Change-Id: I1bcc2c7d7f4567a3bd1bad393e039ee0e45a24ec
Reviewed-by: Fawzi Mohamed <7388270c57edd0fabd71d8eb0322d66e3c40e57e@digia.com>
Reviewed-by: Eike Ziller <c142da16c73a95a82d35191bcc55b22835617128@digia.com>

martyone/sailfish-qtcreator,colede/qtcreator,colede/qtcreator,xianian/qt-creator,farseerri/git_code,darksylinc/qt-creator,danimo/qt-creator,darksylinc/qt-creator,colede/qtcreator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,AltarBeastiful/qt-creator,darksylinc/qt-creator,danimo/qt-creator,kuba1/qtcreator,colede/qtcreator,amyvmiwei/qt-creator,colede/qtcreator,darksylinc/qt-creator,amyvmiwei/qt-creator,darksylinc/qt-creator,farseerri/git_code,omniacreator/qtcreator,AltarBeastiful/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,kuba1/qtcreator,omniacreator/qtcreator,danimo/qt-creator,maui-packages/qt-creator,omniacreator/qtcreator,Distrotech/qtcreator,AltarBeastiful/qt-creator,martyone/sailfish-qtcreator,danimo/qt-creator,maui-packages/qt-creator,xianian/qt-creator,maui-packages/qt-creator,Distrotech/qtcreator,farseerri/git_code,amyvmiwei/qt-creator,omniacreator/qtcreator,AltarBeastiful/qt-creator,AltarBeastiful/qt-creator,xianian/qt-creator,Distrotech/qtcreator,omniacreator/qtcreator,AltarBeastiful/qt-creator,maui-packages/qt-creator,amyvmiwei/qt-creator,amyvmiwei/qt-creator,omniacreator/qtcreator,danimo/qt-creator,xianian/qt-creator,kuba1/qtcreator,martyone/sailfish-qtcreator,darksylinc/qt-creator,Distrotech/qtcreator,xianian/qt-creator,xianian/qt-creator,kuba1/qtcreator,martyone/sailfish-qtcreator,kuba1/qtcreator,martyone/sailfish-qtcreator,kuba1/qtcreator,farseerri/git_code,amyvmiwei/qt-creator,maui-packages/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,Distrotech/qtcreator,darksylinc/qt-creator,martyone/sailfish-qtcreator,maui-packages/qt-creator,farseerri/git_code,AltarBeastiful/qt-creator,danimo/qt-creator,danimo/qt-creator,kuba1/qtcreator,farseerri/git_code,amyvmiwei/qt-creator,xianian/qt-creator,omniacreator/qtcreator,xianian/qt-creator,Distrotech/qtcreator,kuba1/qtcreator,darksylinc/qt-creator,colede/qtcreator,colede/qtcreator,Distrotech/qtcreator,farseerri/git_code,xianian/qt-creator,AltarBeastiful/qt-creator,maui-packages/qt-creator,farseerri/git_code,kuba1/qtcreator