mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-14 07:56:52 +01:00
Update: EventQue deleminate null Event.
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
@@ -207,7 +207,7 @@ public:
|
||||
|
||||
int post(T* t)
|
||||
{
|
||||
if ( t && ( _maxSize == 0 || size() < _maxSize ))
|
||||
if ( t && ( _maxSize == 0 || _cnt < _maxSize ))
|
||||
{
|
||||
QueElement<T>* elm = new QueElement<T>(t);
|
||||
if ( _head )
|
||||
|
||||
Reference in New Issue
Block a user