Skip to content

Commit 86a13f5

Browse files
PerondasPerondas
andauthored
Fixed runtime error on final notify (#273)
Co-authored-by: Perondas <[email protected]>
1 parent 58f5c57 commit 86a13f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/subscriber.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ class Subscriber extends EventManager implements Owner {
267267
dynamic reason = subsState.reason;
268268
dynamic retryAfter = null;
269269

270-
if (subsState.params && subsState.params['retry-after'] != null) {
270+
if (subsState.params != null && subsState.params['retry-after'] != null) {
271271
retryAfter = parseInt(subsState.params['retry-after'], 10);
272272
}
273273

0 commit comments

Comments
 (0)