Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
jbphet committed Oct 14, 2019
2 parents f8b6c5d + de2b1d9 commit fe12480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/moleculesandlight/view/MoleculesAndLightScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ define( require => {
// remove listeners when the molecules go away
photonAbsorptionModel.activeMolecules.addItemRemovedListener( function( removedMolecule ) {
if ( removedMolecule.highElectronicEnergyStateProperty.hasListener( moleculeEnergizedSoundPlayer ) ) {
removedMolecule.highElectronicEnergyStateProperty.removeListener( moleculeEnergizedSoundPlayer );
removedMolecule.highElectronicEnergyStateProperty.unlink( moleculeEnergizedSoundPlayer );
}
if ( removedMolecule.brokeApartEmitter.hasListener( brokeApartSoundPlayer ) ) {
removedMolecule.brokeApartEmitter.removeListener( brokeApartSoundPlayer );
Expand Down

0 comments on commit fe12480

Please sign in to comment.