WFMailboxTask::send() should be virtual

This commit is contained in:
Xie Han
2024-04-04 18:56:32 +08:00
parent bc874c142e
commit 9abfe7125f

View File

@@ -475,7 +475,7 @@ protected:
class WFMailboxTask : public WFGenericTask
{
public:
void send(void *msg)
virtual void send(void *msg)
{
*this->mailbox = msg;
if (this->flag.exchange(true))