We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58f5c57 commit 86a13f5Copy full SHA for 86a13f5
lib/src/subscriber.dart
@@ -267,7 +267,7 @@ class Subscriber extends EventManager implements Owner {
267
dynamic reason = subsState.reason;
268
dynamic retryAfter = null;
269
270
- if (subsState.params && subsState.params['retry-after'] != null) {
+ if (subsState.params != null && subsState.params['retry-after'] != null) {
271
retryAfter = parseInt(subsState.params['retry-after'], 10);
272
}
273
0 commit comments