Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 420
    • Issues 420
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Merge requests
  • !263

ENH: improved handling of regIOobject deletion (#1276)

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Mark OLESEN requested to merge fix-GL1276 into develop Jun 03, 2019
  • Overview 3
  • Commits 1
  • Changes 2
  • remove registration and ownership before deleting a regIOobject from within objectRegistry to avoid possible recursion.

  • regIOobject destructor now removes any registered object from registry regardless if ownedByRegistry or not. It also removes always removes the ownership flag to avoid possible recursion.

  • the regIOobject::checkOut() now unconditionally clears file watches. These will only be there if the object is registered (a no-op for an unregistered object), but this additional safety is needed to manage case where the registration has been modified elsewhere (eg, by the objectRegistry).

Edited Jun 04, 2019 by Mark OLESEN
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix-GL1276