We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 401acaf commit a2ab830Copy full SHA for a2ab830
src/axelrod_fortran/player.py
@@ -114,6 +114,10 @@ def strategy(self, opponent):
114
return actions[original_action]
115
116
def _release_shared_library(self):
117
+ # While this looks like we're checking that the shared library file
118
+ # isn't deleted, the exception is actually thrown in the manager
119
+ # thread closes before the player class is garbage collected, which
120
+ # tends to happen at the end of a script.
121
try:
122
shared_library_manager.release(self.original_name, self.index)
123
except FileNotFoundError:
0 commit comments