Mercurial > hg > orthanc-stone
diff Framework/Loaders/LoaderStateMachine.h @ 973:38409549db43 toa2019082903
Log with addresses + added fingerprint mechanism to avoid calling zombie objects
where:
- a message is sent with a receiver
- the receiver dies
- another receiver with the SAME address is created
- the message reply is executed --> execution on the wrong object!
(since their "identity" is their address. The fix is to identify them with
an UUID stored at creation time)
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Thu, 29 Aug 2019 18:07:55 +0200 |
parents | df442f1ba0c6 |
children | 262a0244e9b2 |
line wrap: on
line diff
--- a/Framework/Loaders/LoaderStateMachine.h Thu Aug 29 13:12:03 2019 +0200 +++ b/Framework/Loaders/LoaderStateMachine.h Thu Aug 29 18:07:55 2019 +0200 @@ -104,10 +104,7 @@ LoaderStateMachine(IOracle& oracle, IObservable& oracleObservable); - virtual ~LoaderStateMachine() - { - Clear(); - } + virtual ~LoaderStateMachine(); bool IsActive() const {