From: Mohammed Sameer Date: Sun, 8 Sep 2013 18:57:30 +0000 (+0300) Subject: Unset QtCamdevice viewfinder when Viewfinder is being destructed. X-Git-Url: http://cgit.sxemacs.org/?p=harmattan%2Fcameraplus;a=commitdiff_plain;h=937fe45637fd63dbd86a6d91ba3cd68c11cb7f28;hp=937fe45637fd63dbd86a6d91ba3cd68c11cb7f28 Unset QtCamdevice viewfinder when Viewfinder is being destructed. This fixes the following crash: pure virtual method called terminate called without an active exception Aborted Viewfinder was being destroyed and QtCamDevice was still holding a pointer to garbage. It tries to stop viewfinder when the device gets stopped which leads to the above mentioned crash. ---