From f5a87b88a3a65755a52992f1cf64b88962b505e6 Mon Sep 17 00:00:00 2001 From: Hao Chen Date: Sat, 13 Jul 2019 09:38:47 +0800 Subject: [PATCH] Fix: ServerCallFactory's destructor not marked as virtual (#5185) --- src/ray/rpc/server_call.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ray/rpc/server_call.h b/src/ray/rpc/server_call.h index 89e7532cd0c90..2afe540880243 100644 --- a/src/ray/rpc/server_call.h +++ b/src/ray/rpc/server_call.h @@ -83,6 +83,8 @@ class ServerCallFactory { /// /// \return Pointer to the `ServerCall` object. virtual ServerCall *CreateCall() const = 0; + + virtual ~ServerCallFactory() = default; }; /// Represents the generic signature of a `FooServiceHandler::HandleBar()`