From 5f8496ca103fabb4cfc265d8d936e194129a17ef Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 30 Jan 2017 19:10:14 +0300 Subject: Clean buy dialog dungling pointer if buy dialog was destroyed. --- src/net/ea/buysellhandler.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/net/ea/buysellhandler.h') diff --git a/src/net/ea/buysellhandler.h b/src/net/ea/buysellhandler.h index 4343cd256..2c5e1caad 100644 --- a/src/net/ea/buysellhandler.h +++ b/src/net/ea/buysellhandler.h @@ -34,6 +34,9 @@ class BuySellHandler notfinal : public Net::BuySellHandler BuySellHandler(); A_DELETE_COPY(BuySellHandler) + + void cleanDialogReference(const BuyDialog *const dialog) const + override final; }; } // namespace Ea -- cgit v1.2.3-60-g2f50