|
|
@@ -51,14 +51,6 @@ queue_event(CPT_Event event) {
|
|
|
#ifdef OLD_HAVE_IPC
|
|
|
mutex_lock lock(_lock);
|
|
|
#endif
|
|
|
- #if 0
|
|
|
- // This is just some paranoid debug code. I had a problem where
|
|
|
- // one of the events was going null while it was in the queue.
|
|
|
- size_t limit = _queue.size();
|
|
|
- while (limit--) {
|
|
|
- nassertv(!_queue[limit].is_null());
|
|
|
- }
|
|
|
- #endif
|
|
|
if (_queue.full()) {
|
|
|
event_cat.error()
|
|
|
<< "Ignoring event " << *event << "; event queue full.\n";
|