function drush_bootstrap_finish

6.x bootstrap.inc drush_bootstrap_finish()
5.x bootstrap.inc drush_bootstrap_finish()

Cleanup our bootstrap.

This is ran after we have bootstrapped and dispatched properly in drush_main().

See also

drush_main()

2 calls to drush_bootstrap_finish()
drush_main in ./drush.php
The main Drush function.
Drush_UnitTestCase::tearDownAfterClass in tests/drush_testcase.inc
Runs after all tests in a class are run. Remove sandbox directory.

File

includes/bootstrap.inc, line 1083
Drush bootstrapping code.

Code

function drush_bootstrap_finish() {
  // We set this context to let the shutdown function know we reached the end of drush_main();
  drush_set_context("DRUSH_EXECUTION_COMPLETED", TRUE);
}