Skip to content

[#808][OCCA] Avoid verifying objects in destructors#809

Merged
jeremylt merged 2 commits intomainfrom
issue-808/avoid-checking-partial-objects
Sep 13, 2021
Merged

[#808][OCCA] Avoid verifying objects in destructors#809
jeremylt merged 2 commits intomainfrom
issue-808/avoid-checking-partial-objects

Conversation

@dmed256
Copy link
Copy Markdown
Member

@dmed256 dmed256 commented Sep 11, 2021

Description

Destructors can be called on partial objects. Avoid building the full object during the destructor

Should close #808

Copy link
Copy Markdown
Member

@jeremylt jeremylt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works in CI with the suggested change: https://gitlab.com/libceed/libCEED/-/jobs/1585697355

Comment thread backends/occa/ceed-occa-qfunction.cpp Outdated
Co-authored-by: Jeremy L Thompson <jeremy@jeremylt.org>
@jeremylt jeremylt merged commit 8ef3655 into main Sep 13, 2021
@jeremylt jeremylt deleted the issue-808/avoid-checking-partial-objects branch September 13, 2021 21:38
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.

OCCA Backend Builds Operator to Destroy

2 participants