dc39d06950
This commit fixes several kernel object leaks. The most severe of them was threads not being removed from the private handle table used for CoreTiming events. This resulted in Threads never being released, which in turn held references to Process, causing CodeSets to never be freed when loading other applications.
24 lines
531 B
C++
24 lines
531 B
C++
// Copyright 2014 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#include "core/hle/service/service.h"
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
// Namespace SRV
|
|
|
|
namespace SRV {
|
|
|
|
/// Interface to "srv:" service
|
|
class Interface : public Service::Interface {
|
|
public:
|
|
Interface();
|
|
~Interface() override;
|
|
|
|
std::string GetPortName() const override {
|
|
return "srv:";
|
|
}
|
|
};
|
|
|
|
} // namespace
|