K 10 svn:author V 3 mav K 8 svn:date V 27 2008-11-22T15:35:21.761049Z K 7 svn:log V 177 Handle device_get_children() errors in more correct way. We shouldn't detach until all children are surely destroyed. Found with: Coverity Prevent(tm) CID: 2137 END