Skip to content

Commit

Permalink
Changed singleton WiFi events dispatcher to lazy initialisation
Browse files Browse the repository at this point in the history
  • Loading branch information
umranabdullaoutware committed Apr 25, 2016
1 parent b948e7a commit 1767b5e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ package com.umranium.esp8266.konnect.data.wifievents
*/
object WifiEvents {

val dispatcher = WifiEventDispatcher()
val dispatcher: WifiEventDispatcher by lazy { WifiEventDispatcher() }

}

0 comments on commit 1767b5e

Please sign in to comment.