Don't try to unregister the status handlers unless we have a device and listener.
authorMohammed Sameer <msameer@foolab.org>
Fri, 14 Dec 2012 22:36:15 +0000 (00:36 +0200)
committerMohammed Sameer <msameer@foolab.org>
Fri, 14 Dec 2012 22:36:15 +0000 (00:36 +0200)
commit4c70af7f72be9dca16189ec7e2c2bcf0e189aae5
tree4177aee8086ece93517fb84eaebf272ff60db314
parent8ec648917fe380b401d39f5846e0ff775643a1c8
Don't try to unregister the status handlers unless we have a device and listener.
This avoids a crash.
lib/qtcamautofocus_p.h