Skip to content

rxcpp::observe_on_event_loop() leaks memory #393

@nikobarli

Description

@nikobarli

The below codes:

int main() {
    auto threads = rxcpp::observe_on_event_loop();
    return 0;
}

triggers memory leak detection when run in Visual Studio debugger. Or, did I miss a cleanup sequence ?
I tried using v2.3.0 and v4.0.0

Detected memory leaks!
Dumping objects ->
{673} normal block at 0x000001E955593170, 16 bytes long.
Data: < XU > A0 1E 58 55 E9 01 00 00 00 00 00 00 00 00 00 00
{672} normal block at 0x000001E955581E70, 96 bytes long.
Data: < YU YU > A0 E8 59 55 E9 01 00 00 90 E8 59 55 E9 01 00 00
{671} normal block at 0x000001E95559E890, 56 bytes long.
Data: < Ah > A8 41 68 82 F6 7F 00 00 01 00 00 00 02 00 00 00
{665} normal block at 0x000001E95559D290, 64 bytes long.
Data: < Dh YU > C8 44 68 82 F6 7F 00 00 10 C5 59 55 E9 01 00 00
{664} normal block at 0x000001E9555898A0, 48 bytes long.
Data:

50 9E 58 55 E9 01 00 00 50 9E 58 55 E9 01 00 00
{663} normal block at 0x000001E95559E810, 64 bytes long.
Data: < Hh > 88 48 68 82 F6 7F 00 00 01 00 00 00 02 00 00 00
{662} normal block at 0x000001E9555931C0, 16 bytes long.
Data: < YU > E0 C5 59 55 E9 01 00 00 00 00 00 00 00 00 00 00

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions