ScopedDbConnection : it is an error if I dont call done()???

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Environment:
      All
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The RAII C++ idiom relies on the dtor cleaning up resources for me. This is what is implied by "Scoped"

      So why it is that I need to call done() else I get some warning? ScopedDbConnection::~ScopedDbConnection should call done() for me. And If I decide to call done() myself, then ~ScopedDbConnection is a no-op

              Assignee:
              Unassigned
              Reporter:
              Lance Diduck
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: