Cleanup: use light services

^IDEA-254577

GitOrigin-RevId: 01afb3f2166f8713cd4599f37d43ecf7f4d2944c
This commit is contained in:
Andrey Cherkasov
2024-01-18 12:56:33 +04:00
committed by intellij-monorepo-bot
parent 33dc0b0678
commit 1a62d88764
232 changed files with 325 additions and 315 deletions

View File

@@ -1,6 +1,7 @@
// Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.jetbrains.python.debugger;
import com.intellij.openapi.components.Service;
import com.intellij.openapi.project.Project;
import com.intellij.util.ConcurrencyUtil;
import org.jetbrains.annotations.NotNull;
@@ -14,6 +15,7 @@ import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import java.util.concurrent.TimeUnit;
@Service(Service.Level.PROJECT)
public final class PyDebugValueExecutionService {
@Nullable private ExecutorService myAsyncValuesExecutorService;
@NotNull private final List<PyFrameAccessor> myFrameAccessors;