lib/autocomplete-manager.js
// Public: Clean up, stop listening to events
Clean up, stop listening to events
Clean up stop listening to events
dispose () {
    this.hideSuggestionList()
    this.disposed = true
    this.ready = false
    if (this.editorSubscriptions) {
      this.editorSubscriptions.dispose()
    }
    this.editorSubscriptions = null
    if (this.subscriptions) {
      this.subscriptions.dispose()
    }
    this.subscriptions = null
    this.suggestionList = null
    this.providerManager = null
  }
dispose ( ) { this . hideSuggestionList ( ) this . disposed = true this . ready = false if ( this . editorSubscriptions ) { this . editorSubscriptions . dispose ( ) } this . editorSubscriptions = null if ( this . subscriptions ) { this . subscriptions . dispose ( ) } this . subscriptions = null this . suggestionList = null this . providerManager = null }
Public: Clean up, stop listening to events
Public : Clean up stop listening to events