Open GoogleCodeExporter opened 8 years ago
After spending hours of debugging I found out that the solution is simple. The
error occures because of a missing event raise in the DataSourceManager. Simply
change lines 90ff from the original:
finally
{
// Remove the message hook if scan setup failed
if (!scanning)
{
EndingScan();
}
}
to the fixed version, that is:
finally
{
// Remove the message hook if scan setup failed
if (!scanning)
{
EndingScan();
try
{
ScanningComplete(this, new ScanningCompleteEventArgs(null);
}
catch { }
}
}
This way the DataSourceManager raises the ScanningComplete event which allows
client applications to now that the scan run stopped. You can optionally submit
a custom exception in the ScanningCompleteEventArgs constructor to indicate
that the scan setup failed.
Original comment by jrunkel....@gmail.com
on 1 Mar 2012 at 3:21
Thank you very much!
Original comment by vincenor...@gmail.com
on 21 Oct 2014 at 7:31
Original issue reported on code.google.com by
jrunkel....@gmail.com
on 1 Mar 2012 at 8:30