From af0f69d338247a019c6fb95bb355f3b6a33e046a Mon Sep 17 00:00:00 2001 From: Tobias Jungel Date: Thu, 10 Aug 2017 15:03:41 +0200 Subject: [PATCH] crofsock: close should not be virtual close is called during destruction which is bad in case crofsock would be the parent class --- src/rofl/common/crofsock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rofl/common/crofsock.h b/src/rofl/common/crofsock.h index 5d620dc1..5a3fc5b7 100644 --- a/src/rofl/common/crofsock.h +++ b/src/rofl/common/crofsock.h @@ -284,7 +284,7 @@ class crofsock : public cthread_env { /** * */ - virtual void close(); + void close(); /** *