windows-mcp 0.5.8__py3-none-any.whl → 0.6.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
windows_mcp/analytics.py CHANGED
@@ -90,8 +90,6 @@ class PostHogAnalytics:
90
90
  # Using print for immediate visibility in console during debugging
91
91
  print(f"[Analytics] {tool_name}: {success_mark} ({duration}ms)")
92
92
  logger.info(f"{tool_name}: {success_mark} ({duration}ms)")
93
- if self.client:
94
- self.client.flush()
95
93
 
96
94
  async def track_error(self, error: Exception, context: Dict[str, Any]) -> None:
97
95
  if self.client:
@@ -107,9 +105,6 @@ class PostHogAnalytics:
107
105
  }
108
106
  )
109
107
 
110
- if self.client:
111
- self.client.flush()
112
-
113
108
  logger.error(f"ERROR in {context.get('tool_name')}: {error}")
114
109
 
115
110
  async def is_feature_enabled(self, feature: str) -> bool: