Method: MatrixSdk::Client#stop_listener_thread

Defined in:
lib/matrix_sdk/client.rb

#stop_listener_threadObject



251
252
253
254
255
256
257
# File 'lib/matrix_sdk/client.rb', line 251

def stop_listener_thread
  return unless @sync_thread

  @should_listen = false
  @sync_thread.join if @sync_thread.alive?
  @sync_thread = nil
end