Project

General

Profile

Actions

Bug #1176

closed

Scheduler::cancelEvent crash on empty EventId

Added by Junxiao Shi almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Core
Target version:
Start date:
01/30/2014
Due date:
% Done:

100%

Estimated time:
0.30 h

Description

boost::asio::io_service io; 
Scheduler scheduler(io);

EventId i;
scheduler.cancelEvent(i);

Actual: Scheduler::cancelEvent crashes when an uninitialized EventId is passed

Expected: Scheduler::cancelEvent does nothing if eventId is empty

Actions

Also available in: Atom PDF