beevelop / ng-stomp

:bookmark_tabs: STOMP for AngularJS
http://beevelop.github.io/stomp-ui/
MIT License
44 stars 43 forks source link

The connection has not been established yet error on console just after onclose event is triggred. #28

Open sparkwork992 opened 6 years ago

sparkwork992 commented 6 years ago

I am getting the following error on close in production min-bower-20180201_224511-57e1187.js:136 Error: InvalidStateError: The connection has not been established yet at d.send (min-bower-20180201_224511-57e1187.js:21168) at b._transmit (min-bower-20180201_224511-57e1187.js:21169) at b.disconnect (min-bower-20180201_224511-57e1187.js:21170) at Object.disconnect (min-bower-20180201_224511-57e1187.js:21177) at websocketService.disconnect (min-app-20180201_224511-57e1187.js:28986) at min-app-20180201_224511-57e1187.js:28856 at m.$emit (min-bower-20180201_224511-57e1187.js:164) at onClose (min-app-20180201_224511-57e1187.js:492) at d.sock.onclose (min-app-20180201_224511-57e1187.js:499) at d.c.dispatchEvent (min-bower-20180201_224511-57e1187.js:21168)

beevelop commented 6 years ago

Can you provide the code snippet used to provoke this issue? Is this behavior reproducible?