The bug would not be in Shareaza, it would be in the application that crashes. The problem is caused by the way
Windows handles such things not by anything application specific done by Shareaza and if it makes the application crash that is a bug in it.
A
shell API to avoid this common problem exists, but only in Vista or later and apparently it is not 100% reliable.