Skip to content

Disposable leaks cause unit test failures #192585

@joyceerhl

Description

@joyceerhl

Build: https://dev.azure.com/monacotools/a6d41577-0fa3-498e-af22-257312ff0545/_build/results?buildId=231184
Changes: 8971983...35c2ce3


  (shared with 1/2 leaks) at $Fg (out-build/vs/base/common/async.js:389:16)
  (shared with 1/2 leaks) at /mnt/vss/_work/1/s/out-build/vs/base/common/async.js:387:33
  (shared with 1/2 leaks) at $sg (out-build/vs/base/common/async.js:15:26)
      - stacktraces of 1 other leaks continue with $sg (out-build/vs/base/common/async.js:16:25)
  (shared with 2/2 leaks) at Object.$Fg (out-build/vs/base/common/async.js:387:20)
  (shared with 2/2 leaks) at Context.<anonymous> (out-build/vs/base/test/common/async.test.js:613:45)
  (shared with 2/2 leaks) at process.processImmediate (node:internal/timers:476:21)
  ============================================================
  
  
  
  
  ==================== Leaking disposable 2/2: Object ====================
  (shared with 1/2 leaks) at $8S.trackDisposable (out-build/vs/base/test/common/utils.js:56:21)
  (shared with 1/2 leaks) at $db (out-build/vs/base/common/lifecycle.js:58:28)
  (shared with 1/2 leaks) at $kb (out-build/vs/base/common/lifecycle.js:143:22)
  (shared with 1/2 leaks) at MutableToken.q (out-build/vs/base/common/event.js:822:52)
  (shared with 1/2 leaks) at /mnt/vss/_work/1/s/out-build/vs/base/common/async.js:17:47
  (shared with 1/2 leaks) at new Promise (<anonymous>)
  (shared with 1/2 leaks) at $sg (out-build/vs/base/common/async.js:16:25)
      - stacktraces of 1 other leaks continue with $sg (out-build/vs/base/common/async.js:15:26)
  (shared with 2/2 leaks) at Object.$Fg (out-build/vs/base/common/async.js:387:20)
  (shared with 2/2 leaks) at Context.<anonymous> (out-build/vs/base/test/common/async.test.js:613:45)
  (shared with 2/2 leaks) at process.processImmediate (node:internal/timers:476:21)
  ============================================================
  
  
      at $8S.ensureNoLeakingDisposables (out-build/vs/base/test/common/utils.js:145:19)
      at Context.<anonymous> (out-build/vs/base/test/common/utils.js:170:25)
      at process.processImmediate (node:internal/timers:476:21)

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-priorityinsiders-releasedPatch has been released in VS Code Insidersunit-test-failureverifiedVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions