https://issues.dlang.org/show_bug.cgi?id=14953
Sean Kelly <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Sean Kelly <[email protected]> --- I think this can be handled a few different ways. The most straightforward would be to do: m_localBox.clear(); m_localPty.clear(); Which would wipe everything. It might be better (albeit slower) to let the user supply a filter though. Basically: discard(int,int,int); Removes all messages that would map to: receive((int, int, int) {}); And: discard(Variant); Would effectively clear the mailbox. Perhaps this second version could special case to the efficient: m_localBox.clear(); m_localPty.clear(); mentioned above. --
