Debugging: Implement GetName for Kernel::ServerSession.

Fixes the "[UNKNOWN KERNEL OBJECT]" message in the wait tree when inspecting a server session.
This commit is contained in:
Subv 2017-10-01 22:17:50 -05:00
parent 5f92dc963c
commit 23deae4785

View file

@ -36,6 +36,9 @@ class Thread;
*/
class ServerSession final : public WaitObject {
public:
std::string GetName() const override {
return name;
}
std::string GetTypeName() const override {
return "ServerSession";
}
@ -104,4 +107,4 @@ private:
static ResultVal<SharedPtr<ServerSession>> Create(std::string name = "Unknown");
};
}
} // namespace Kernel