fixing cleanup of routing device commands, refs #1429

git-svn-id: http://svn.code.sf.net/p/sumo/code/trunk/sumo@17136 29f149b2-0c63-11e1-8f5c-a347f6a9acd0
Merge branch 'master' of https://github.com/planetsumo/sumo