Skip to content

Commit

Permalink
Cross platform bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldevriesdarcorp committed Jan 25, 2019
1 parent 8638244 commit e7eb6f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
from setuptools.extension import Extension
from setuptools.command.build_ext import build_ext

version = '0.0.12'
version = '0.0.13'

options = {k: 'OFF' for k in ['--opt', '--debug', '--cuda']}
for flag in options.keys():
Expand Down
2 changes: 2 additions & 0 deletions src/xfoil/xfoil.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ def __del__(self):
del self._lib
try:
ctypes.windll.kernel32.FreeLibrary(handle)
except AttributeError:
pass
finally:
os.remove(self._lib_path)

Expand Down

0 comments on commit e7eb6f6

Please sign in to comment.