From 011da60cca63f4068211f7f3ea635d30605b7b00 Mon Sep 17 00:00:00 2001
From: Andrew Nelless <andrew@symless.com>
Date: Tue, 27 Sep 2016 12:35:15 +0100
Subject: [PATCH] #5617 Remove plugin infra from ClientApp

---
 src/lib/synergy/ClientApp.cpp | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/src/lib/synergy/ClientApp.cpp b/src/lib/synergy/ClientApp.cpp
index 6adac9b9..54f9f687 100644
--- a/src/lib/synergy/ClientApp.cpp
+++ b/src/lib/synergy/ClientApp.cpp
@@ -455,11 +455,6 @@ ClientApp::mainLoop()
 	SocketMultiplexer multiplexer;
 	setSocketMultiplexer(&multiplexer);
 
-	// load all available plugins.
-	ARCH->plugin().load();
-	// pass log and arch into plugins.
-	ARCH->plugin().init(Log::getInstance(), Arch::getInstance());
-
 	// start client, etc
 	appUtil().startNode();
 	
@@ -469,9 +464,6 @@ ClientApp::mainLoop()
 		initIpcClient();
 	}
 
-	// init event for all available plugins.
-	ARCH->plugin().initEvent(m_clientScreen->getEventTarget(), m_events);
-
 	// run event loop.  if startClient() failed we're supposed to retry
 	// later.  the timer installed by startClient() will take care of
 	// that.
@@ -506,9 +498,6 @@ ClientApp::mainLoop()
 		cleanupIpcClient();
 	}
 
-	// unload all plugins.
-	ARCH->plugin().unload();
-
 	return kExitSuccess;
 }