Skip to content

Commit

Permalink
util, canvas: fix leak variables
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Jul 28, 2022
1 parent 0b7de99 commit 36d151e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ble-core.sh
Expand Up @@ -456,6 +456,7 @@ function ble/builtin/trap/set-readline-signal {
fi

# Skip if already registered
local trap
ble/util/assign trap "builtin trap -p $sig"
local cmd="trap -- '$handler' SIG$sig"
[[ $cmd == "$trap" ]] && return 0
Expand Down

0 comments on commit 36d151e

Please sign in to comment.