From ee5b6ea4726957e3c8e42b8161cffb349fefaf70 Mon Sep 17 00:00:00 2001 From: DC Date: Sun, 3 Apr 2016 22:34:43 -0700 Subject: [PATCH] PR #278 fixes --- renderer/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderer/index.js b/renderer/index.js index dc6b2908..283d86cb 100644 --- a/renderer/index.js +++ b/renderer/index.js @@ -575,7 +575,7 @@ function showCreateTorrentModal (files) { // Creates a new torrent and start seeeding function createTorrent (options) { - var torrent = state.client.seed(options.files, options) + var torrent = lazyLoadClient().seed(options.files, options) addTorrentToList(torrent) addTorrentEvents(torrent) }