Open alanhamlett opened 4 years ago
When listeners not present on Flask.g (connect was unable to run) then accessing that attribute raises exception:
listeners
AttributeError: '_AppCtxGlobals' object has no attribute 'listeners'
Checking that listeners exists first fixes the bug.
When
listeners
not present on Flask.g (connect was unable to run) then accessing that attribute raises exception:AttributeError: '_AppCtxGlobals' object has no attribute 'listeners'
Checking that
listeners
exists first fixes the bug.