summaryrefslogtreecommitdiff
path: root/src/net/eathena/vendinghandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/vendinghandler.cpp')
-rw-r--r--src/net/eathena/vendinghandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/eathena/vendinghandler.cpp b/src/net/eathena/vendinghandler.cpp
index c5791cfd5..73fa5d12b 100644
--- a/src/net/eathena/vendinghandler.cpp
+++ b/src/net/eathena/vendinghandler.cpp
@@ -44,6 +44,11 @@ VendingHandler::VendingHandler()
VendingRecv::mBuyDialog = nullptr;
}
+VendingHandler::~VendingHandler()
+{
+ vendingHandler = nullptr;
+}
+
void VendingHandler::close() const
{
createOutPacket(CMSG_VENDING_CLOSE);