Skip to content

Commit

Permalink
Merge pull request #256 from njsf/Fix_error_on_suspend
Browse files Browse the repository at this point in the history
Also check the disconnect handler to really fix the error on suspend
  • Loading branch information
jonian committed Sep 26, 2021
2 parents 114944b + b86f20d commit 21d919c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unite@hardpixel.eu/handlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ var Signals = class Signals {
disconnect(key) {
if (this.hasSignal(key)) {
const data = this.signals.get(key)
if (data.object != null) {
if (data.object && data.object.signal_handler_disconnect) {
data.object.disconnect(data.signalId)
}

Expand Down

0 comments on commit 21d919c

Please sign in to comment.