Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O OpenFOAM-plus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 339
    • Issues 339
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • OpenFOAM-plus
  • 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
Reviewer
Request review from
Time tracking
Source branch: fix-GL1276