mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-24 13:05:53 +00:00
deploy: 1a8eb5e6e3
This commit is contained in:
@@ -316,7 +316,7 @@ $(function() {
|
||||
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <span class="comment">// There is a separate check in `checkpoint` for a valid</span></div>
|
||||
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <span class="comment">// connection in the rare case when the DatabaseCon is destroyed</span></div>
|
||||
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  <span class="comment">// after locking this weak_ptr</span></div>
|
||||
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  [wp = <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html">std::weak_ptr<Checkpointer></a>{shared_from_this()}](Job&) {</div>
|
||||
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  [wp = <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html">std::weak_ptr<Checkpointer></a>{shared_from_this()}]() {</div>
|
||||
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  if (auto self = wp.lock())</div>
|
||||
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  self->checkpoint();</div>
|
||||
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  }))</div>
|
||||
|
||||
Reference in New Issue
Block a user