The current Implementation has a bug causes that all scans performed in an worker from completing other then the first scan. The second and later scans will all be stuck because the services.NewLocalSystem(config.NewConfig()) will get stuck when called more than once.
This bug was in introduced via the amass update in PR #19.
This PR ensures that the "LocalSystem" will only get initialized once.
The current Implementation has a bug causes that all scans performed in an worker from completing other then the first scan. The second and later scans will all be stuck because the
services.NewLocalSystem(config.NewConfig())
will get stuck when called more than once.This bug was in introduced via the amass update in PR #19.
This PR ensures that the "LocalSystem" will only get initialized once.