diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2023-05-19 10:43:14 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2023-05-19 10:43:14 -0400 |
commit | 7efe727f266af2119d4cd6e33fdd6c26636c1a24 (patch) | |
tree | 62cce6d78c94b58205ce43bebd693303488ddace /indra/llcommon/llprocess.cpp | |
parent | ffca94c0b89d9734fa16fde7751bd0e5785e5ea2 (diff) | |
parent | 5a70639b7992842a9f74ec81b11bac56608b8f2e (diff) |
DRTVWR-558: Merge branch 'main' of secondlife/viewer into actions
Diffstat (limited to 'indra/llcommon/llprocess.cpp')
-rw-r--r-- | indra/llcommon/llprocess.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llcommon/llprocess.cpp b/indra/llcommon/llprocess.cpp index 23936f0526..97a38ea992 100644 --- a/indra/llcommon/llprocess.cpp +++ b/indra/llcommon/llprocess.cpp @@ -272,6 +272,14 @@ public: boost::bind(&ReadPipeImpl::tick, this, _1)); } + ~ReadPipeImpl() + { + if (mConnection.connected()) + { + mConnection.disconnect(); + } + } + // Much of the implementation is simply connecting the abstract virtual // methods with implementation data concealed from the base class. virtual std::istream& get_istream() { return mStream; } |