remoterigs-raspberrypi 0.1.7 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/common/signalr.js +7 -6
package/package.json
CHANGED
package/src/common/signalr.js
CHANGED
|
@@ -76,6 +76,7 @@ export default class SignalR {
|
|
|
76
76
|
}
|
|
77
77
|
static ScheduleReconnect() {
|
|
78
78
|
if (SignalR.intentionalStop) {
|
|
79
|
+
1;
|
|
79
80
|
return;
|
|
80
81
|
}
|
|
81
82
|
if (SignalR.reconnectTimer != null) {
|
|
@@ -100,10 +101,10 @@ export default class SignalR {
|
|
|
100
101
|
if (SignalR.hubConnection) {
|
|
101
102
|
SignalR.hubConnection.stop()
|
|
102
103
|
.then(() => {
|
|
103
|
-
Debug.
|
|
104
|
+
Debug.LogAlways(SignalR.GetName(), 'hub connection stopped', false);
|
|
104
105
|
})
|
|
105
106
|
.catch((err) => {
|
|
106
|
-
Debug.
|
|
107
|
+
Debug.LogAlways(SignalR.GetName(), "StopConnection err: '" + err + "'", false);
|
|
107
108
|
});
|
|
108
109
|
}
|
|
109
110
|
}
|
|
@@ -132,7 +133,7 @@ export default class SignalR {
|
|
|
132
133
|
});
|
|
133
134
|
}
|
|
134
135
|
else {
|
|
135
|
-
Debug.
|
|
136
|
+
Debug.LogAlways(SignalR.GetName(), "sign in canceled: no hub connection", false);
|
|
136
137
|
}
|
|
137
138
|
}
|
|
138
139
|
static UpdateStatus(pStatusModel) {
|
|
@@ -151,7 +152,7 @@ export default class SignalR {
|
|
|
151
152
|
});
|
|
152
153
|
}
|
|
153
154
|
else {
|
|
154
|
-
Debug.
|
|
155
|
+
Debug.LogAlways(SignalR.GetName(), "outgoing UpdateStatus: no hub connection", false);
|
|
155
156
|
}
|
|
156
157
|
}
|
|
157
158
|
static SendWebRTCMessage(message) {
|
|
@@ -166,7 +167,7 @@ export default class SignalR {
|
|
|
166
167
|
});
|
|
167
168
|
}
|
|
168
169
|
else {
|
|
169
|
-
Debug.
|
|
170
|
+
Debug.LogAlways(SignalR.GetName(), "SendWebRTCMessage: no hub connection", false);
|
|
170
171
|
}
|
|
171
172
|
}
|
|
172
173
|
static AddHighScorePoints(message) {
|
|
@@ -181,7 +182,7 @@ export default class SignalR {
|
|
|
181
182
|
});
|
|
182
183
|
}
|
|
183
184
|
else {
|
|
184
|
-
Debug.
|
|
185
|
+
Debug.LogAlways(SignalR.GetName(), "outgoing AddHighScorePoints: no hub connection", false);
|
|
185
186
|
}
|
|
186
187
|
}
|
|
187
188
|
}
|