From 911dd481964a39bffab19e45f7d7414914361a3b Mon Sep 17 00:00:00 2001 From: Joseph Beshay Date: Mon, 25 Sep 2023 13:25:48 -0700 Subject: [PATCH] Change QuicAsyncUDPSocketImpl destructor to virtual Summary: As title. Reviewed By: mjoras Differential Revision: D49599130 fbshipit-source-id: 0681622695b425cd55b9e8fb5ef2fd05f31510b8 --- quic/common/QuicAsyncUDPSocketImpl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quic/common/QuicAsyncUDPSocketImpl.h b/quic/common/QuicAsyncUDPSocketImpl.h index 3756c7347..dafec1d93 100644 --- a/quic/common/QuicAsyncUDPSocketImpl.h +++ b/quic/common/QuicAsyncUDPSocketImpl.h @@ -81,7 +81,7 @@ class QuicAsyncUDPSocketImpl { struct msghdr& /* msg */); explicit QuicAsyncUDPSocketImpl(QuicBackingEventBase*); - ~QuicAsyncUDPSocketImpl(); + virtual ~QuicAsyncUDPSocketImpl(); // Initializes underlying socket fd. This is called in bind() and connect() // internally if fd is not yet set at the time of the call. But if there is a