mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-29 04:01:27 +01:00
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:
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
|
||||
*
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user