Skip to content

Commit

Permalink
add todo comment about save action preservation after suspend
Browse files Browse the repository at this point in the history
  • Loading branch information
jjallaire committed Jul 14, 2011
1 parent 0e5d0e9 commit 2dea3e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cpp/session/modules/SessionWorkspace.cpp
Expand Up @@ -168,6 +168,8 @@ void enqueAssignedEvent(const r::sexp::Variable& variable)
// server mode. this means that if you are ever suspended then you will always
// end up with a 'dirty' workspace. not a big deal considering how infrequently
// quit occurs in server mode.
// TODO: this now affects switching projects after a suspend. we should try
// to figure out how to preserve dirty state of the workspace accross suspend
int s_lastSaveAction = r::session::kSaveActionAsk;

void enqueSaveActionChanged()
Expand Down

0 comments on commit 2dea3e4

Please sign in to comment.