Skip to content

Memory leak #108

@YacovGold

Description

@YacovGold

Saving all windows \ Browsers will not let the GC to free the memory associate with them.
Should be something like UnRegister

private static List<Browser> _allWindows = new List<Browser>();

private static void Register(Browser browser)
{
    _allWindows.Add(browser);
    if (browser.WindowHandle == null)
    {
        browser.WindowHandle = Guid.NewGuid().ToString().Substring(0, 8);
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions