Debugger: Fix crash after creator shutdown

Change-Id: I5dd95571092c9b2a9a489b87d3cd4a641b337745
Reviewed-by: Christian Stenger <christian.stenger@digia.com>