nkaje opened a new pull request #170:
URL: https://github.com/apache/mynewt-newtmgr/pull/170
NMP Async listener should be released in the gofunc.
This fixes the following error seen with DFU.
Error signature:
```
$sudo ~/go/bin/newtmgr --conntype ble --connstring peer_name='DUT1000' image
upload application.bin
0 B / 99.04 KiB [---------------------------------------------------------]
0.00%
panic: send on closed channel
goroutine 67 [running]:
mynewt.apache.org/newtmgr/nmxact/nmp.(*Listener).AfterTimeout.func1()
/home/naveen/go/src/mynewt.apache.org/newtmgr/nmxact/nmp/dispatch.go:50
+0x64
created by time.goFunc
/usr/local/go/src/time/sleep.go:168 +0x44
```
Signed-off-by: Naveen Kaje <[email protected]>
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]