Skip to content

Thread Safety, Memory Leaks etc #86

@dimzon

Description

@dimzon

I discovered some problems using SimpleBrowser in multithreaded web-crawler
There are List<Browser> _allWindows member so it's impossible to run multiple isolated threads. It also cause memory leaks if you don't call Close

I propose to store opened windows @ top-level browser instead of static field. This way you can run multiple isolated browser without affecting each other...

I'm too lame to setup Git onto this PC so I just post updated file to Gist:
https://gist.github.com/dimzon/466f94f469c17f9bbc81

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions