3martini/WuF — Issue #20: WuF lock file deletion exception not logged.
Author: 3martini
Created: 2012-03-02 22:01:44+00:00
State: open

The cleanup function had the process unlock function added a few commits ago. This added the possibility of cleanup throwing an exception.

It turns out an unexpected situation can occur where the lock file can be created but not deleted. Still not sure why, but I witnessed this on Windows 8. Thus cleanup threw an unhandled exception. While this is not deadly, it would be confusing to a remote user utilizing the controller, since they would not see that the unlock failed, until they tried to run the agent remotely again and it failed, unable to lock.