I've tested it in both Fedora 31 python3.7 and Windows 10, both OSes using python3.7.
To test:
1) install the version of resen in this branch (fix_lockfile)
2) open 2 terminals and try to import the Resen class in each. One should succeed and one should fail.
3) now close the terminal window in which importing resen succeeded. This will kill everything without cleaning up the lockfile (check that the lock file is still there). Finally, try to import the Resen class again and it should succeed.
This PR fixes #14.
I've tested it in both Fedora 31 python3.7 and Windows 10, both OSes using python3.7.
To test: 1) install the version of resen in this branch (
fix_lockfile
) 2) open 2 terminals and try to import theResen
class in each. One should succeed and one should fail. 3) now close the terminal window in which importing resen succeeded. This will kill everything without cleaning up the lockfile (check that the lock file is still there). Finally, try to import theResen
class again and it should succeed.