Select to view content in your preferred language

Why VS2010 often hangs when stopping a WPF Arcgis app?

490
0
09-03-2010 11:24 PM
MarioVernari
Emerging Contributor
Hi there.
I'm experiencing a relatively frequent behavior when stopping a WPF app hosting ArcGis API 2.0.
At the moment, the app itself does almost nothing: displays a map and that's working ok. Once the map is displayed, no other service is invoked (queries, behaviors, etc), thus the CPU is idle.
When you close the app by clicking the control-box window's button once out of two, you may experience VS2010 "waiting" for something (thread?) that won't killed. The only way to shut it is via Task Manager. I've noticed this only when hosting the ArcGis APIs (I never tried with version prior 2).
I checked this same behavior under two different machines: the mine is Vista x86 SP2 italian dual-core running VS2010 Express and the office's one is Win7 x86 english quad-core running VS2010 enterprise.
I'm quite worried to consider the ESRI solution when in production could hang the customer application.
Any idea? Need any code?
Thanks in advance.
Mario
0 Kudos
0 Replies