xbmc/xbmc — pull request #1962 by jmarshallnz (2012-12-19 23:06:21+00:00)
Title: use the script id, not the plugin name to lookup the script

In CPluginDirectory::WaitOnScriptResult we need to check whether the plugin is still running - to do this we use the plugin name, but if 2 instances are running we get the first one which may not be the one we want. Use the script id instead seeing as we have it. Fixes #13776.

@jimfcarroll to review.

While I don't see any reason why this would do anything odd, it would be nice for this to be in RC2 so we make sure of it.