Skip to content

Memory leak #108

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);
    }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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