SignalDelegator: Move virtual destructor to base class

Ensures that destruction behavior will always handle the polymorphic
case, no matter where it occurs in the hierarchy.
This commit is contained in:
Lioncash committed 2021-06-09 20:59:21 -04:00
1 parent 3f88150581
commit b4cde28137
2 files changed
+3 -1

No files matched your search

@@ -30,6 +30,8 @@ namespace Core {
class SignalDelegator {
public:
virtual ~SignalDelegator() = default;
/**
* @brief Registers an emulated thread's object to a TLS object
*
+1 -1
View File
@@ -30,7 +30,7 @@ namespace FEX::HLE {
// Returns true if the host handled the signal
// Arguments are the same as sigaction handler
SignalDelegator();
virtual ~SignalDelegator();
~SignalDelegator() override;
/**
* @brief Registers an emulated thread's object to a TLS object