- Replaced blocking Dispatcher.Invoke() calls with non-blocking Dispatcher.BeginInvoke() in MainViewModel, osBase, and ObjectManipulationManager to enhance responsiveness during simulations. - Added checks for Dispatcher availability to prevent crashes during application shutdown. - Implemented comprehensive error handling with try-catch blocks and logging for better debugging. - Corrected hydraulic connection logic to use component names instead of IDs for better accuracy in osHydPump. - Introduced methods for safe Dispatcher invocation with timeout handling in MCPServer. - Enhanced debug logging for better traceability of errors and server status. - Documented threading improvements and their impact on MCP stability in new markdown files. |
||
---|---|---|
.. | ||
CPython_Migration_Summary.md | ||
MCP_LLM_Guide.md | ||
MCP_Threading_Improvements.md | ||
Threading_And_Hydraulic_Fixes.md |