Update angel3_hot.dart

Removed excess '!' operation which caused the following error message,
```
Warning: Operand of null-aware operation '!' has type 'AngelWebSocket' which excludes null.
../…/lib/angel3_hot.dart:362
- 'AngelWebSocket' is from 'package:angel3_websocket/server.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/angel3_websocket-4.1.2/lib/server.dart').
package:angel3_websocket/server.dart:1
          var ws = _server!.app.container!.make<AngelWebSocket>()!;
```
This commit is contained in:
CedricM-1848552 2021-11-15 19:59:20 +01:00 committed by GitHub
parent d0fc25c4e1
commit 558260ec94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -359,7 +359,7 @@ class HotReloader {
scheduleMicrotask(() async {
// Disconnect active WebSockets
try {
var ws = _server!.app.container!.make<AngelWebSocket>()!;
var ws = _server!.app.container!.make<AngelWebSocket>();
for (var client in ws.clients) {
try {