You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2017/04/05 01:44:31 UTC

[2/6] incubator-mynewt-newtmgr git commit: nmxact - Remove unnecessary signal on blexport stop.

nmxact - Remove unnecessary signal on blexport stop.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newtmgr/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newtmgr/commit/e3144c66
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newtmgr/tree/e3144c66
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newtmgr/diff/e3144c66

Branch: refs/heads/master
Commit: e3144c662a9316fa99b569b7f5784ec67f883e0d
Parents: ad32cdd
Author: Christopher Collins <cc...@apache.org>
Authored: Tue Apr 4 12:23:45 2017 -0700
Committer: Christopher Collins <cc...@apache.org>
Committed: Tue Apr 4 18:09:43 2017 -0700

----------------------------------------------------------------------
 nmxact/nmble/ble_xport.go | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newtmgr/blob/e3144c66/nmxact/nmble/ble_xport.go
----------------------------------------------------------------------
diff --git a/nmxact/nmble/ble_xport.go b/nmxact/nmble/ble_xport.go
index 02854c6..335986f 100644
--- a/nmxact/nmble/ble_xport.go
+++ b/nmxact/nmble/ble_xport.go
@@ -205,9 +205,6 @@ func (bx *BleXport) shutdown(restart bool, err error) {
 	// Stop the unixchild instance (blehostd + socket).
 	if bx.client != nil {
 		bx.client.Stop()
-
-		// Unblock the unixchild instance.
-		bx.client.FromChild <- nil
 	}
 
 	// Indicate an error to all of this transport's listeners.  This prevents