fix: Invoke loadingDone when stopping SmartQuery (#559)

This commit is contained in:
Luke Konopka
2019-05-02 17:51:14 +02:00
committed by Guillaume Chau
parent d3886b9f2b
commit 555c200b72
+2
View File
@@ -76,6 +76,8 @@ export default class SmartQuery extends SmartApollo {
stop () {
super.stop()
this.loadingDone()
if (this.observer) {
this.observer.stopPolling()
this.observer = null