Skip to content

[BugFix] InflowWind_driver crashes due to incorrect file closing#521

Merged
andrew-platt merged 1 commit intoOpenFAST:devfrom
andrew-platt:b/IfW_SegFault
Aug 7, 2020
Merged

[BugFix] InflowWind_driver crashes due to incorrect file closing#521
andrew-platt merged 1 commit intoOpenFAST:devfrom
andrew-platt:b/IfW_SegFault

Conversation

@andrew-platt
Copy link
Collaborator

THIS PULL REQUEST IS READY TO MERGE

The InflowWind Driver might try to close a file that was never opened. This causes a segfault.

Solution:
Add if statements around the close so it only attempts to close if the file is open.

@andrew-platt andrew-platt merged commit 8fca5c9 into OpenFAST:dev Aug 7, 2020
@andrew-platt andrew-platt deleted the b/IfW_SegFault branch September 4, 2020 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant