OSDN Git Service

Handle the situation where files are locked (probably due to loaded c extensions...
authorMichael Curran <mick@kulgan.net>
Mon, 7 May 2012 07:11:39 +0000 (17:11 +1000)
committerMichael Curran <mick@kulgan.net>
Mon, 7 May 2012 07:11:39 +0000 (17:11 +1000)
commitcb50d084861dfb2c4bb68e37d3eac24a0af4c2be
tree70727132b50a53633572bc74b62d3b048abefcf6
parent89617e3441b0887cef62a57659e53b76f4e23505
Handle the situation where files are locked (probably due to loaded c extensions or dlls in the addon's installTasks.py) when an addon tries to get completely removed (this includes if the installation failes). Now the directory will be renamed to a temp name with a '.delete' extension and removed on NVDA restart. Hopefully this should never happen, but its certainly possible.
source/addonHandler.py