Loading go-apps/meep-ams/server/ams.go +3 −7 Original line number Diff line number Diff line Loading @@ -683,6 +683,9 @@ func mec011AppTerminationPost(w http.ResponseWriter, r *http.Request) { } go func() { // Wait to allow app termination response to be sent time.Sleep(20 * time.Millisecond) // Deregister service _ = deregisterService(serviceAppInstanceId, appEnablementServiceId) Loading @@ -695,13 +698,6 @@ func mec011AppTerminationPost(w http.ResponseWriter, r *http.Request) { } }() if sendAppTerminationWhenDone { go func() { //ignore any error and delete yourself anyway _ = sendTerminationConfirmation(serviceAppInstanceId) }() } w.WriteHeader(http.StatusNoContent) } Loading go-apps/meep-loc-serv/server/loc-serv.go +3 −0 Original line number Diff line number Diff line Loading @@ -3858,6 +3858,9 @@ func mec011AppTerminationPost(w http.ResponseWriter, r *http.Request) { //using a go routine to quickly send the response to the requestor go func() { // Wait to allow app termination response to be sent time.Sleep(20 * time.Millisecond) // Deregister service _ = deregisterService(serviceAppInstanceId, appEnablementServiceId) Loading go-apps/meep-rnis/server/rnis.go +3 −0 Original line number Diff line number Diff line Loading @@ -686,6 +686,9 @@ func mec011AppTerminationPost(w http.ResponseWriter, r *http.Request) { } go func() { // Wait to allow app termination response to be sent time.Sleep(20 * time.Millisecond) // Deregister service _ = deregisterService(serviceAppInstanceId, appEnablementServiceId) Loading go-apps/meep-wais/server/wais.go +3 −0 Original line number Diff line number Diff line Loading @@ -529,6 +529,9 @@ func mec011AppTerminationPost(w http.ResponseWriter, r *http.Request) { } go func() { // Wait to allow app termination response to be sent time.Sleep(20 * time.Millisecond) // Deregister service _ = deregisterService(serviceAppInstanceId, appEnablementServiceId) Loading Loading
go-apps/meep-ams/server/ams.go +3 −7 Original line number Diff line number Diff line Loading @@ -683,6 +683,9 @@ func mec011AppTerminationPost(w http.ResponseWriter, r *http.Request) { } go func() { // Wait to allow app termination response to be sent time.Sleep(20 * time.Millisecond) // Deregister service _ = deregisterService(serviceAppInstanceId, appEnablementServiceId) Loading @@ -695,13 +698,6 @@ func mec011AppTerminationPost(w http.ResponseWriter, r *http.Request) { } }() if sendAppTerminationWhenDone { go func() { //ignore any error and delete yourself anyway _ = sendTerminationConfirmation(serviceAppInstanceId) }() } w.WriteHeader(http.StatusNoContent) } Loading
go-apps/meep-loc-serv/server/loc-serv.go +3 −0 Original line number Diff line number Diff line Loading @@ -3858,6 +3858,9 @@ func mec011AppTerminationPost(w http.ResponseWriter, r *http.Request) { //using a go routine to quickly send the response to the requestor go func() { // Wait to allow app termination response to be sent time.Sleep(20 * time.Millisecond) // Deregister service _ = deregisterService(serviceAppInstanceId, appEnablementServiceId) Loading
go-apps/meep-rnis/server/rnis.go +3 −0 Original line number Diff line number Diff line Loading @@ -686,6 +686,9 @@ func mec011AppTerminationPost(w http.ResponseWriter, r *http.Request) { } go func() { // Wait to allow app termination response to be sent time.Sleep(20 * time.Millisecond) // Deregister service _ = deregisterService(serviceAppInstanceId, appEnablementServiceId) Loading
go-apps/meep-wais/server/wais.go +3 −0 Original line number Diff line number Diff line Loading @@ -529,6 +529,9 @@ func mec011AppTerminationPost(w http.ResponseWriter, r *http.Request) { } go func() { // Wait to allow app termination response to be sent time.Sleep(20 * time.Millisecond) // Deregister service _ = deregisterService(serviceAppInstanceId, appEnablementServiceId) Loading