Fix broken semantics for base::SharedMemoryHandle |
||
Issue descriptionSharedMemoryHandle::Close() is a const method that calls CloseHandle() on the underlying handle_. But it doesn't touch handle_. SharedMemoryHandle::IsValid() just checks if handle_ is nullptr. This means that SharedMemoryHandle::IsValid() returns true after SharedMemoryHandle::Close() is called. This is really confusing and should be fixed. I bet that all of these weird semantics stem from base::FileDescriptor.
,
Mar 23 2017
,
May 2 2017
,
May 2 2017
Is this automatable? What are the transformations an automated rewriter would have to do?
,
Aug 14
+alexilin@ : IIUC it's something you're addressing in your refactor of the shared memory API ?
,
Aug 14
|
||
►
Sign in to add a comment |
||
Comment 1 by erikc...@chromium.org
, Nov 2 2016