Skip to content

Commit

Permalink
Remove assert that accesses object post-dtor (RIPD-1704)
Browse files Browse the repository at this point in the history
  • Loading branch information
scottschurr authored and nbougalis committed Mar 7, 2019
1 parent aa49be6 commit 1e1e8c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/ripple/core/Stoppable.h
Expand Up @@ -327,7 +327,7 @@ class RootStoppable : public Stoppable
public:
explicit RootStoppable (std::string name);

~RootStoppable ();
virtual ~RootStoppable ();

bool isStopping() const;

Expand Down
2 changes: 0 additions & 2 deletions src/ripple/core/impl/Stoppable.cpp
Expand Up @@ -42,8 +42,6 @@ Stoppable::Stoppable (std::string name, Stoppable& parent)

Stoppable::~Stoppable ()
{
// Either we must not have started, or Children must be stopped.
assert (!m_root.started() || m_childrenStopped);
}

bool Stoppable::isStopping() const
Expand Down

0 comments on commit 1e1e8c2

Please sign in to comment.