diff --git a/netwerk/base/nsSocketTransportService2.h b/netwerk/base/nsSocketTransportService2.h index bab101c46f45..83f13318d619 100644 --- a/netwerk/base/nsSocketTransportService2.h +++ b/netwerk/base/nsSocketTransportService2.h @@ -239,7 +239,7 @@ private: bool mServeMultipleEventsPerPollIter; mozilla::Atomic mServingPendingQueue; int32_t mMaxTimePerPollIter; - bool mTelemetryEnabledPref; + mozilla::Atomic mTelemetryEnabledPref; void OnKeepaliveEnabledPrefChange(); void NotifyKeepaliveEnabledPrefChange(SocketContext *sock);