File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
packages/core/src/codewhisperer/nextEditPrediction Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import { PredictionTracker } from './PredictionTracker'
88import { PredictionKeyStrokeHandler } from './PredictionKeyStrokeHandler'
99import { getLogger } from '../../shared/logger/logger'
1010import { ExtContext } from '../../shared/extensions'
11+ import { SnapshotVisualizer } from './SnapshotVisualizer'
1112
1213export let predictionTracker : PredictionTracker | undefined
1314let keyStrokeHandler : PredictionKeyStrokeHandler | undefined
@@ -21,14 +22,10 @@ export function activateNextEditPrediction(context: ExtContext): void {
2122
2223 // Initialize the keystroke handler
2324 keyStrokeHandler = new PredictionKeyStrokeHandler ( predictionTracker )
24-
25- // Register for disposal
2625 context . extensionContext . subscriptions . push (
2726 vscode . Disposable . from ( {
2827 dispose : ( ) => {
29- getLogger ( ) . info ( 'Disposing Next Edit Prediction resources' )
3028 keyStrokeHandler ?. dispose ( )
31- predictionTracker ?. dispose ( )
3229 } ,
3330 } )
3431 )
You can’t perform that action at this time.
0 commit comments