Skip to content

Workers are not terminated when no longer relevant. #331

@iebuggy

Description

@iebuggy

I've got a toolbar with a dropdown selection to change modes. Let's say I start off in PHP mode, switch temporarily to CSS mode, and then switch back to PHP mode. ACE loads the 'worker-css.js' file when CSS mode is selected and applies it to the current document. The worker, however, is not terminated when the mode changes to something else and continues to show "errors" in perfectly valid PHP code because it is attempting to interpret it as CSS. The demo is broken when switching the PHP document to CSS mode (Firefox reports an uncaught exception).
@gissues:{"order":63.97515527950327,"status":"backlog"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions