We always create the Web Inspector window on detach. We only need to do it when actually detaching not detaching to close.
Created attachment 134934 [details]
Comment on attachment 134934 [details]
Clearing flags on attachment: 134934
Committed r112773: <http://trac.webkit.org/changeset/112773>
All reviewed patches have been landed. Closing bug.