Is the following code safe?
void foo() {
  Object bar;
  callback_in_5_sec([&]() {
    print(bar);
  });
} // bar goes out of scope but is it being retained because it is captured?
Is the following code safe?
void foo() {
  Object bar;
  callback_in_5_sec([&]() {
    print(bar);
  });
} // bar goes out of scope but is it being retained because it is captured?
