carlrobertoh / CodeGPT

JetBrains extension providing access to state-of-the-art LLMs, such as GPT-4, Claude 3, Code Llama, and others, all for free
https://codegpt.ee
Apache License 2.0
885 stars 184 forks source link

Lambda in CodeGPTUpdateActivity holds diposed project #595

Open ViugiNick opened 2 weeks ago

ViugiNick commented 2 weeks ago

What happened?

Lambda in CodeGPTUpdateActivity holds diposed project. Similar to https://github.com/carlrobertoh/CodeGPT/issues/364

Relevant log output or stack trace

(root): com.intellij.util.concurrency.AppDelayQueue$TransferThread
this$0: com.intellij.util.concurrency.AppDelayQueue
q: java.util.PriorityQueue
queue: java.lang.Object[]
[]: com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask
callable: java.util.concurrent.Executors$RunnableAdapter
task: ee.carlrobert.codegpt.CodeGPTUpdateActivity$$Lambda
arg$1: ee.carlrobert.codegpt.CodeGPTUpdateActivity$schedulePluginUpdateChecks$command$1
$project: com.intellij.openapi.project.impl.ProjectImpl (disposed)


### Steps to reproduce

_No response_

### CodeGPT version

no data

### Operating System

None