mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-02 00:15:06 +01:00
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:
parent
5f92dc963c
commit
23deae4785
@ -36,6 +36,9 @@ class Thread;
|
|||||||
*/
|
*/
|
||||||
class ServerSession final : public WaitObject {
|
class ServerSession final : public WaitObject {
|
||||||
public:
|
public:
|
||||||
|
std::string GetName() const override {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
std::string GetTypeName() const override {
|
std::string GetTypeName() const override {
|
||||||
return "ServerSession";
|
return "ServerSession";
|
||||||
}
|
}
|
||||||
@ -104,4 +107,4 @@ private:
|
|||||||
static ResultVal<SharedPtr<ServerSession>> Create(std::string name = "Unknown");
|
static ResultVal<SharedPtr<ServerSession>> Create(std::string name = "Unknown");
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
} // namespace Kernel
|
||||||
|
Loading…
Reference in New Issue
Block a user