97dc7e3bb2
Otherwise we could cause leaks. Most of the time this check should be optimized out, as most uses of AutoDeleter don't invoke SetTo. But it would have caught some bugs in the VFS refactors (which wound up being cancelled out by later commits anyway, but this would've exposed them.) Just invoke debugger(), which calls the kernel debugger when compiled in kernel mode. And define debugger() inline in this header if OS.h is not included to avoid namespace pollution. |
||
---|---|---|
.. | ||
AboutMenuItem.h | ||
ArgumentVector.h | ||
Array.h | ||
AttributeUtilities.h | ||
AutoDeleter.h | ||
AutoDeleterDrivers.h | ||
AutoDeleterOS.h | ||
AutoDeleterPosix.h | ||
AutoLocker.h | ||
BarberPole.h | ||
binary-utils.h | ||
BitmapButton.h | ||
BytePointer.h | ||
CalendarView.h | ||
ColorItem.h | ||
ColorQuantizer.h | ||
CommandPipe.h | ||
cpu_type.h | ||
DateTimeEdit.h | ||
DragTrackingFilter.h | ||
DriverSettingsMessageAdapter.h | ||
EntryFilter.h | ||
ExpressionParser.h | ||
FunctionObject.h | ||
FunctionTracer.h | ||
HashMap.h | ||
HashSet.h | ||
HashString.h | ||
IconButton.h | ||
IconView.h | ||
Json.h | ||
JsonEvent.h | ||
JsonEventListener.h | ||
JsonMessageWriter.h | ||
JsonTextWriter.h | ||
JsonWriter.h | ||
Keymap.h | ||
locks.h | ||
LongAndDragTrackingFilter.h | ||
LRUCache.h | ||
md5.h | ||
MemoryRingIO.h | ||
MessageBuilder.h | ||
NaturalCompare.h | ||
OpenHashTable.h | ||
OpenWithTracker.h | ||
pci-utils.h | ||
PromptWindow.h | ||
PthreadMutexLocker.h | ||
QueryFile.h | ||
RangeArray.h | ||
RegExp.h | ||
RWLocker.h | ||
RWLockManager.h | ||
ScopeExit.h | ||
SettingsHandler.h | ||
SettingsMessage.h | ||
ShakeTrackingFilter.h | ||
StatusView.h | ||
StringForRate.h | ||
StringForSize.h | ||
StripeView.h | ||
syscall_utils.h | ||
TextTable.h | ||
Thread.h | ||
ToolBar.h | ||
TrackerAddOnAppLaunch.h | ||
TypeOperation.h | ||
usb-utils.h | ||
Variant.h | ||
WeakReferenceable.h |