mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 00:23:25 +02:00
Leave transaction channel when it's done. Could be made cleaner if more code was moved to the app side.
This commit is contained in:
@@ -39,9 +39,9 @@ module.exports = function TransactionServiceFactory(socket) {
|
||||
.finally(function() {
|
||||
socket.removeListener('tx.done', doneListener)
|
||||
socket.removeListener('tx.progress', progressListener)
|
||||
socket.emit('tx.cleanup', channel)
|
||||
})
|
||||
.progressed(function() {
|
||||
console.log('progressing')
|
||||
return results
|
||||
})
|
||||
.then(function() {
|
||||
|
||||
Reference in New Issue
Block a user