Updated mediawiki/extensions
Project: mediawiki/extensions/VisualEditor  1e57c72122fc4907f7bba0e7a7b02c15da1640cb

Disconnect bound reference list events on teardown

Reference lists would never disconnect, and some transactions would cause them to be "updated" even though they don't have a document anymore.

A way to test this is to insert an image in a document with some references. When you click apply, it crashes.

The solution was to make sure we actually disconnect from the internalList and listNode on teardown.

Change-Id: Ieb0354938b68fe5e7965f61f9ccce07cd6fb1120