codec: eliminate internalPostClose()

no reason to distinguish before and after
send worker break is _requested_ (won't
actually be stopped).
This commit is contained in:
Michael Davidsaver
2018-04-02 11:30:19 -07:00
parent 434a43dfe1
commit df14a19ae0
2 changed files with 2 additions and 15 deletions

View File

@@ -449,15 +449,11 @@ protected:
virtual void sendBufferFull(int tries) OVERRIDE FINAL;
/**
* Called from close(). prior to signaling worker shutdown.
* Called from close(). after start of shutdown (isOpen()==false)
* but before worker thread shutdown.
*/
virtual void internalClose();
/**
* Called from close(). after signaling worker shutdown.
*/
virtual void internalPostClose() {}
private:
AtomicValue<bool> _isOpen;
epics::pvData::Thread _readThread, _sendThread;
@@ -683,7 +679,6 @@ public:
protected:
virtual void internalClose() OVERRIDE FINAL;
virtual void internalPostClose() OVERRIDE FINAL;
private: