StanleyGoldman / TeamPilgrim

Other
2 stars 6 forks source link

IDE Crash on *every* checkin, with VS2012 update 2 CTP #2

Open OfekShilon opened 11 years ago

OfekShilon commented 11 years ago

Perhaps an IDE issue, but seems worth looking into.

OfekShilon commented 11 years ago

Just verified that the same crash occurs consistently on VS2012 update 1 (RTM). Less likely to be an IDE issue.

user0474975 commented 7 years ago

I know it's been a long time, but I had this error with Visual Studio 2015 (crashing whenever I clicked the Check-in button). On debugging I saw the error was "the BackgroundWorker is currently busy". I made the following modification and that seemed to fix the problem:

File: \Model\VersionControl\WorkspaceServiceModel.cs Method: private void RefreshPendingChanges()

change line 803: _populatePendingChangedBackgroundWorker.RunWorkerAsync(); to: if (!_populatePendingChangedBackgroundWorker.IsBusy) { _populatePendingChangedBackgroundWorker.RunWorkerAsync(); }