Skip to content

Using after upgrade crashes Firefox #5

Description

@jgrande

Not completely sure about this, but it looks like if you install a new version of the addon with changes to the C bindings Firefox will crash the next time you invoke the extension.

The solution is to hear the onLoad event of the add-on and unload the old library.

See: https://developer.mozilla.org/en-US/Add-ons/SDK/Tutorials/Listening_for_load_and_unload

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions