mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-10 10:00:08 +00:00
Replace locking with pining in core (#734)
* Replace locking with pin in core * Add extra expectation * Update litegraph * Update test expectations [skip ci] --------- Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
@@ -2881,6 +2881,11 @@ export class ComfyApp {
|
||||
if (!extension.name) {
|
||||
throw new Error("Extensions must have a 'name' property.")
|
||||
}
|
||||
// https://github.com/Comfy-Org/litegraph.js/pull/117
|
||||
if (extension.name === 'pysssss.Locking') {
|
||||
console.log('pysssss.Locking is replaced by pin/unpin in ComfyUI core.')
|
||||
return
|
||||
}
|
||||
if (this.extensions.find((ext) => ext.name === extension.name)) {
|
||||
throw new Error(`Extension named '${extension.name}' already registered.`)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user