We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
If you jiggle the workspace too much, it can cause the tab to crash with an out of memory error.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No crashes. Not sure how to achieve that though.
Desktop (please complete the following information):
Stack Traces
Here is the stack trace I get when it pauses:
e.getLineFeedCnt (pieceTreeBase.ts:928) e.createNewPieces (pieceTreeBase.ts:1047) e.insert (pieceTreeBase.ts:740) e._doApplyEdits (pieceTreeTextBuffer.ts:412) e.applyEdits (pieceTreeTextBuffer.ts:275) o._applyEdits (textModel.ts:1147) o.applyEdits (textModel.ts:1134) e.pushEditOperation (editStack.ts:168) o._pushEditOperations (textModel.ts:1127) o.pushEditOperations (textModel.ts:1036) generate (index.js:169) S (index.js:226) (anonymous) (index.js:335) Blockly.Workspace.fireChangeListener (workspace.js:670) Blockly.Events.fireNow_ (events.js:262) --- setTimeout (async) --- Blockly.Events.fire (events.js:244) Blockly.WorkspaceSvg.maybeFireViewportChangeEvent (workspace_svg.js:1260) Blockly.WorkspaceSvg.translate (workspace_svg.js:1288) Blockly.WorkspaceSvg.scroll (workspace_svg.js:2312) Blockly.WorkspaceDragger.drag (workspace_dragger.js:102) Blockly.Gesture.handleMove (gesture.js:539) Blockly.TouchGesture.handleMove (touch_gesture.js:169) wrapFunc (browser_events.js:64)
The text was updated successfully, but these errors were encountered:
Possibly related to google/blockly-samples#750
Sorry, something went wrong.
Closing for now because unable to repro.
moniika
No branches or pull requests
Describe the bug
If you jiggle the workspace too much, it can cause the tab to crash with an out of memory error.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No crashes. Not sure how to achieve that though.
Desktop (please complete the following information):
Stack Traces
Here is the stack trace I get when it pauses:
The text was updated successfully, but these errors were encountered: