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
|
void
|
||||||
MainWindow::_IncrementViewCounter(const PackageInfoRef& package)
|
MainWindow::_IncrementViewCounter(const PackageInfoRef& package)
|
||||||
{
|
{
|
||||||
|
// Temporarily disabled, see tickets #16879 and #17689.
|
||||||
|
#if 0
|
||||||
bool shouldIncrementViewCounter = false;
|
bool shouldIncrementViewCounter = false;
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -941,11 +943,12 @@ MainWindow::_IncrementViewCounter(const PackageInfoRef& package)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (shouldIncrementViewCounter) {
|
if (shouldIncrementViewCounter) {
|
||||||
ProcessCoordinator* bulkLoadCoordinator =
|
ProcessCoordinator* incrementViewCoordinator =
|
||||||
ProcessCoordinatorFactory::CreateIncrementViewCounter(
|
ProcessCoordinatorFactory::CreateIncrementViewCounter(
|
||||||
&fModel, package);
|
&fModel, package);
|
||||||
_AddProcessCoordinator(bulkLoadCoordinator);
|
_AddProcessCoordinator(incrementViewCoordinator);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user