mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-03 06:58:23 +00:00
8263840: PeriodicTask should declare its destructor virtual
Reviewed-by: xliu, kbarrett
This commit is contained in:
parent
f22619032d
commit
8a789b71fe
@ -62,7 +62,7 @@ class PeriodicTask: public CHeapObj<mtInternal> {
|
||||
friend class WatcherThread;
|
||||
public:
|
||||
PeriodicTask(size_t interval_time); // interval is in milliseconds of elapsed time
|
||||
~PeriodicTask();
|
||||
virtual ~PeriodicTask();
|
||||
|
||||
// Make the task active
|
||||
// For dynamic enrollment at the time T, the task will execute somewhere
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user