1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 12:27:35 +00:00

Shell: Store jobs as NonnullRefPtr<Job>

This commit is contained in:
Andreas Kling 2020-08-06 14:09:13 +02:00
parent 5bce0193de
commit b8440b12b7
2 changed files with 16 additions and 14 deletions

View file

@ -165,7 +165,7 @@ public:
int last_return_code { 0 };
Vector<String> directory_stack;
CircularQueue<String, 8> cd_history; // FIXME: have a configurable cd history length
HashMap<u64, RefPtr<Job>> jobs;
HashMap<u64, NonnullRefPtr<Job>> jobs;
Vector<String, 256> cached_path;
enum ShellEventType {