mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-16 23:22:31 +00:00
* Added FastCGI support for RPC. This will be hooked up with XMLRPC-C.
* Experimenting with move semantics for Object. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@886 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -50,6 +50,7 @@
|
||||
#include "display/manager.h"
|
||||
#include "input/manager.h"
|
||||
#include "input/input_event.h"
|
||||
#include "rpc/fast_cgi.h"
|
||||
#include "ui/root.h"
|
||||
#include "utils/variable_map.h"
|
||||
|
||||
@@ -70,6 +71,8 @@ Control::Control() :
|
||||
m_variables(new utils::VariableMap()),
|
||||
m_downloadVariables(new utils::VariableMap()),
|
||||
|
||||
m_fastCgi(NULL),
|
||||
|
||||
m_tick(0) {
|
||||
|
||||
m_core = new core::Manager();
|
||||
@@ -123,6 +126,8 @@ Control::initialize() {
|
||||
|
||||
void
|
||||
Control::cleanup() {
|
||||
delete m_fastCgi; m_fastCgi = NULL;
|
||||
|
||||
priority_queue_erase(&taskScheduler, &m_taskShutdown);
|
||||
|
||||
m_inputStdin->remove(m_core->get_poll_manager()->get_torrent_poll());
|
||||
|
||||
Reference in New Issue
Block a user