• Andrii Grynenko's avatar
    Default VirtualEventBase · de821c22
    Andrii Grynenko authored
    Summary:
    Make each EventBase have a defuault VirtualEventBase which is attached to it and is joined on destruction. Default VirtualEventBase is lazily created on first request.
    This makes it trivial to use code switched to VirtualEventBase both with VirtualEventBase and EventBase.
    
    Reviewed By: yfeldblum
    
    Differential Revision: D4644639
    
    fbshipit-source-id: cf28a3632463a1c61404c225ce1186f5a4a062a3
    de821c22
VirtualEventBase.h 4.82 KB