Skip to content

Commit

Permalink
#5617 Remove plugin infra from ClientApp
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Nelless committed Sep 29, 2016
1 parent 85227f4 commit 011da60
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/lib/synergy/ClientApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand All @@ -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.
Expand Down Expand Up @@ -506,9 +498,6 @@ ClientApp::mainLoop()
cleanupIpcClient();
}

// unload all plugins.
ARCH->plugin().unload();

return kExitSuccess;
}

Expand Down

0 comments on commit 011da60

Please sign in to comment.