Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
9bddc9d9
Commit
9bddc9d9
authored
Jan 13, 2024
by
pythongosssss
Browse files
Fix crash on group render
parent
df49a727
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
web/extensions/core/groupNode.js
web/extensions/core/groupNode.js
+1
-0
No files found.
web/extensions/core/groupNode.js
View file @
9bddc9d9
...
@@ -843,6 +843,7 @@ export class GroupNodeHandler {
...
@@ -843,6 +843,7 @@ export class GroupNodeHandler {
const r = onDrawForeground?.apply?.(this, arguments);
const r = onDrawForeground?.apply?.(this, arguments);
if (+app.runningNodeId === this.id && this.runningInternalNodeId !== null) {
if (+app.runningNodeId === this.id && this.runningInternalNodeId !== null) {
const n = groupData.nodes[this.runningInternalNodeId];
const n = groupData.nodes[this.runningInternalNodeId];
if(!n) return;
const message = `
Running
$
{
n
.
title
||
n
.
type
}
(
$
{
this
.
runningInternalNodeId
}
/${groupData.nodes.length}
)
`
;
const message = `
Running
$
{
n
.
title
||
n
.
type
}
(
$
{
this
.
runningInternalNodeId
}
/${groupData.nodes.length}
)
`
;
ctx
.
save
();
ctx
.
save
();
ctx
.
font
=
"
12px sans-serif
"
;
ctx
.
font
=
"
12px sans-serif
"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment