mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
disconnect
This commit is contained in:
parent
35831856ea
commit
cf6d78b26e
1 changed files with 4 additions and 3 deletions
|
@ -15,8 +15,9 @@
|
|||
function startUpdate() {
|
||||
print('START UPDATE!!')
|
||||
iOwn = true;
|
||||
Script.update.connect(_this.update);
|
||||
connected = true;
|
||||
Script.update.connect(_this.update);
|
||||
|
||||
}
|
||||
|
||||
function stopUpdateAndReclaim() {
|
||||
|
@ -89,9 +90,9 @@
|
|||
if (baton) {
|
||||
baton.release(function() {});
|
||||
}
|
||||
if (connected === true) {
|
||||
|
||||
Script.update.disconnect(_this.update);
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue