HaikuDepot: Temporarily disable viewing usage statistics.
It causes crashes (see #17689) and I was unable to determine the cause; and it causes very noticeable lag (see #16879.) It can be reinstated once those problems are fixed.
This commit is contained in:
@@ -929,6 +929,8 @@ MainWindow::_AddRemovePackageFromLists(const PackageInfoRef& package)
|
||||
void
|
||||
MainWindow::_IncrementViewCounter(const PackageInfoRef& package)
|
||||
{
|
||||
// Temporarily disabled, see tickets #16879 and #17689.
|
||||
#if 0
|
||||
bool shouldIncrementViewCounter = false;
|
||||
|
||||
{
|
||||
@@ -941,11 +943,12 @@ MainWindow::_IncrementViewCounter(const PackageInfoRef& package)
|
||||
}
|
||||
|
||||
if (shouldIncrementViewCounter) {
|
||||
ProcessCoordinator* bulkLoadCoordinator =
|
||||
ProcessCoordinator* incrementViewCoordinator =
|
||||
ProcessCoordinatorFactory::CreateIncrementViewCounter(
|
||||
&fModel, package);
|
||||
_AddProcessCoordinator(bulkLoadCoordinator);
|
||||
_AddProcessCoordinator(incrementViewCoordinator);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user